/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 161 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7478
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0920.9+4441_daily_bin113
RA = 140.229, Dec = 44.699
tmin = 268617601, tmax = 268876801
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository Job = True

LAT data Source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='128534', job_status='RUN', time_executed='2021-08-31 06:50:07.886366', time_epoch_executed='1630417807.89' WHERE source_name='4FGL J0920.9+4441' and cadence='daily' and bin_id='113'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/128534

Creating custom pfile directory:
/scratch/kocevski/128534/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=268617601.0 && nMetStart<268876801.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=268617601.0 && nMetStart<268876801.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/128534/ft1_4FGL_J0920.9+4441_daily_bin113.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=268617601.0 && nMetStart<268876801.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/128534/ft2_4FGL_J0920.9+4441_daily_bin113.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/128534/ft1_4FGL_J0920.9+4441_daily_bin113.fits outfile=/scratch/kocevski/128534/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin113.fits ra=140.229 dec=44.699 rad=12.0 tmin=268617601.0 tmax=268876801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 2.65
user 1.32
sys 1.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/128534/ft2_4FGL_J0920.9+4441_daily_bin113.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/128534/ft2_4FGL_J0920.9+4441_daily_bin113.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/128534/ft1_filteredMKT_4FGL_J0920.9+4441_daily_bin113.fits evtable="EVENTS" outfile="/scratch/kocevski/128534/ft1_filtered_4FGL_J0920.9+4441_daily_bin113.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.77
user 0.32
sys 1.29

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/128534/ft1_filtered_4FGL_J0920.9+4441_daily_bin113.fits" evtable="EVENTS" scfile=/scratch/kocevski/128534/ft2_4FGL_J0920.9+4441_daily_bin113.fits sctable="SC_DATA" outfile=/scratch/kocevski/128534/ltcube_268617601_268876801_4FGL_J0920.9+4441_daily_bin113.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/128534/ft2_4FGL_J0920.9+4441_daily_bin113.fits
.....................!
real 14.51
user 12.77
sys 1.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/128534/ft1_filtered_4FGL_J0920.9+4441_daily_bin113.fits evtable="EVENTS" scfile=/scratch/kocevski/128534/ft2_4FGL_J0920.9+4441_daily_bin113.fits sctable="SC_DATA" expcube=/scratch/kocevski/128534/ltcube_268617601_268876801_4FGL_J0920.9+4441_daily_bin113.fits outfile=/scratch/kocevski/128534/expmap_268617601_268876801_4FGL_J0920.9+4441_daily_bin113.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/128534/ltcube_268617601_268876801_4FGL_J0920.9+4441_daily_bin113.fits
.....................!
real 192.98
user 185.21
sys 7.16

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 216 point sources and 0 extended sources

Setting source of interest to:
4FGL J0920.9+4441 @ 140.229 44.699

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/128534/ft1_filtered_4FGL_J0920.9+4441_daily_bin113.fits scfile=/scratch/kocevski/128534/ft2_4FGL_J0920.9+4441_daily_bin113.fits outfile=/scratch/kocevski/128534/cmap_268617601_268876801_4FGL_J0920.9+4441_daily_bin113.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=140.229 yref=44.699 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.57
user 0.38
sys 1.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/128534/ft1_filtered_4FGL_J0920.9+4441_daily_bin113.fits scfile=/scratch/kocevski/128534/ft2_4FGL_J0920.9+4441_daily_bin113.fits outfile=/scratch/kocevski/128534/cmap_HighResolution_268617601_268876801_4FGL_J0920.9+4441_daily_bin113.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=140.229 yref=44.699 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.65
user 0.38
sys 1.26

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/128534/ft1_filtered_4FGL_J0920.9+4441_daily_bin113.fits evtable="EVENTS" scfile=/scratch/kocevski/128534/ft2_4FGL_J0920.9+4441_daily_bin113.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/128534/Model_4FGL_J0920.9+4441_daily_bin113.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/128534/ft1_filtered_4FGL_J0920.9+4441_daily_bin113.fits.....................!
real 50.22
user 47.13
sys 2.67

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/128534/ft1_filtered_4FGL_J0920.9+4441_daily_bin113.fits', '/scratch/kocevski/128534/ft2_4FGL_J0920.9+4441_daily_bin113.fits', expMap='/scratch/kocevski/128534/expmap_268617601_268876801_4FGL_J0920.9+4441_daily_bin113.fits', expCube='/scratch/kocevski/128534/ltcube_268617601_268876801_4FGL_J0920.9+4441_daily_bin113.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/128534/Model_4FGL_J0920.9+4441_daily_bin113.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0920.9+4441'

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  1.124e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  2.267e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  1.363e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  8.119e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/128534/ft1_filtered_4FGL_J0920.9+4441_daily_bin113.fits
Spacecraft file(s): /scratch/kocevski/128534/ft2_4FGL_J0920.9+4441_daily_bin113.fits
Exposure map: /scratch/kocevski/128534/expmap_268617601_268876801_4FGL_J0920.9+4441_daily_bin113.fits
Exposure cube: /scratch/kocevski/128534/ltcube_268617601_268876801_4FGL_J0920.9+4441_daily_bin113.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/128534/Model_4FGL_J0920.9+4441_daily_bin113.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 5152.01832233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 5151.94835029

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9054       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.1185       1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.023       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10304E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .48216       1.0000         .10000E-03   10000.    
     8 'norm      '    4.7256       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.190       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.8951       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.9389       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.8656       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.7846       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11162E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.3317       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .40149E-02   1.0000         .10000E-03   10000.    
    28 'norm      '    4.2060       1.0000         .10000E-03   10000.    
    29 'Prefactor '    2.7082       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    31 'norm      '    5.7860       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .94623       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0555       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5151.948     FROM MIGRAD    STATUS=CONVERGED    924 CALLS     4012 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9045        1.0922       -.12567E-06   -.96569E-03
   2  Prefactor     .10000E-03    46.264        .36105E-05** at limit **
   3  Prefactor     3.1096        4.4469       -.43316E-06   -.34602E-03
   4  Prefactor     17.980        36.254        .63156E-05    .57808E-04
   5  Prefactor     .10000E-03    10.813        .20385E-06** at limit **
   6  Prefactor     .10000E-03    6.8545       -.32826E-06** at limit **
   7  norm          .52939        28.367       -.98544E-05    .16713E-03
   8  norm          4.7226        8.0994       -.83314E-06   -.27052E-03
   9  Prefactor     10.196        20.922        .40682E-06    .18353E-05
  10  Prefactor     1.8949        3.0893       -.15864E-06   -.22783E-03
  11  Prefactor     .10000E-03    12.076       -.56431E-06** at limit **
  12  Prefactor     .10001E-03    180.68        .10309E-04** at limit **
  13  Prefactor     3.9391        4.1356        .13127E-06    .60832E-04
  14  Prefactor     .10000E-03    11.305       -.70513E-06** at limit **
  15  Prefactor     .10000E-03    1.7913       -.32820E-06** at limit **
  16  Prefactor     .10000E-03    4.5862        .22946E-07** at limit **
  17  norm          1.8654        .95863       -.22063E-07    .42643E-04
  18  Prefactor     7.7848        5.6456        .21423E-06   -.73363E-04
  19  norm          .10000E-03    2.5257        .17177E-07** at limit **
  20  Prefactor     .10000E-03    1.4947        .12105E-06** at limit **
  21  Prefactor     6.3364        10.645        .30370E-06   -.32208E-04
  22  Prefactor     .10000E-03    2.5700       -.18620E-07** at limit **
  23  Prefactor     .10000E-03    22.229        .12674E-05** at limit **
  24  norm          .10000E-03    9.0801        .66290E-06** at limit **
  25  Prefactor     .10000E-03    8.9760       -.86123E-06** at limit **
  26  Prefactor     .10000E-03    4.3318       -.25953E-07** at limit **
  27  Prefactor     .10115E-03    23.663        .71410E-05** at limit **
  28  norm          4.2080        11.270        .39444E-05    .59059E-03
  29  Prefactor     2.7085        4.6306        .12984E-06    .95696E-04
  30  Prefactor     .10000E-03    74.407       -.45881E-05** at limit **
  31  norm          5.7861        3.3823       -.24386E-07    .63495E-05
  32  Normalizat    .94621        .19448       -.11938E-05   -.27368E-03
  33  Prefactor     1.0554        .21096        .22085E-06   -.26373E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.90453
  Prefactor  = 0.0001
  Prefactor  = 3.1096
  Prefactor  = 17.9797
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.529394
  norm       = 4.72262
  Prefactor  = 10.1963
  Prefactor  = 1.89487
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 3.93913
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.86545
  Prefactor  = 7.78476
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.33644
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000101152
  norm       = 4.20804
  Prefactor  = 2.70851
  Prefactor  = 0.000100001
  norm       = 5.7861
  Normalizat = 0.946208
  Prefactor  = 1.05544
 **********
 **   18 **HESSE 
 **********

 FCN=   5151.948     FROM HESSE     STATUS=OK           697 CALLS     4709 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9045        1.0933        .43513E-04   -1.5367    
   2  Prefactor     .10000E-03    46.563        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.1096        4.4327        .17103E-03   -1.5355    
   4  Prefactor     17.980        36.268        .94342E-04   -1.4860    
   5  Prefactor     .10000E-03    10.805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.8813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .52939        43.988        .40264E-02   -1.5562    
   8  norm          4.7226        8.0636        .18510E-03   -1.5273    
   9  Prefactor     10.196        20.916        .12552E-03   -1.5069    
  10  Prefactor     1.8949        3.0322        .14833E-03   -1.5433    
  11  Prefactor     .10000E-03    12.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    183.06        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.9391        4.1340        .14477E-03   -1.5311    
  14  Prefactor     .10000E-03    11.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.8257        .18026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.5876        .15012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.8654        .99559        .37086E-04   -1.5435    
  18  Prefactor     7.7848        5.8741        .10262E-03   -1.5150    
  19  norm          .10000E-03    2.5320        .11139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.6291        .16350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.3364        10.612        .15952E-03   -1.5204    
  22  Prefactor     .10000E-03    2.6418        .22454E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    22.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    9.1289        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    8.9883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    4.3833        .14577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10115E-03    171.45        .53793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          4.2080        13.128        .98248E-03   -1.5298    
  29  Prefactor     2.7085        4.6045        .19276E-03   -1.5379    
  30  Prefactor     .10000E-03    75.187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  norm          5.7861        3.3796        .97166E-04   -1.5227    
  32  Normalizat    .94621        .22744        .24941E-03   -.94855    
  33  Prefactor     1.0554        .24976        .26917E-03   -.90904    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.69165e-09
Minuit parameter uncertainties:
  1  1.09329
  2  0.000195869
  3  4.43317
  4  36.3125
  5  0.000134405
  6  1.3641e-05
  7  9.65779
  8  8.06547
  9  20.9313
  10  3.03249
  11  8.98776e-06
  12  0.00236785
  13  4.13433
  14  3.55927e-05
  15  4.24607e-05
  16  1.1558e-06
  17  0.9956
  18  5.8745
  19  1.2659e-06
  20  1.33788e-05
  21  10.6156
  22  1.97453e-06
  23  5.58726e-05
  24  2.67016e-05
  25  4.25469e-05
  26  1.62139e-06
  27  0.0281892
  28  13.1373
  29  4.60512
  30  0.00039129
  31  3.37968
  32  0.227677
  33  0.250031
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 5151.94832012

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  1.865e+00  9.956e-01  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  2.267e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
318         beta:  1.363e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  8.119e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
681    Prefactor:  1.055e+00  2.500e-01  0.000e+00  1.000e+01 ( 1.000e+00)
682        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
683        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
680   Normalization:  9.462e-01  2.277e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.31
Ra Dec: 140.229 44.699
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 6.73e-08
Energy Flux (Fixed Index): 4.83e-05 +/- 2.58e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5151.90213346
delta logL = 0.0461866553087

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5151.89728788
delta logL = 0.0510322388245

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9179       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1212       1.0000          .0000       5.0000    
     3 'Normalizat'    .96259       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0450       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5151.897     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      203 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9185        13.289        .75022E-02    .14907E-03
   2  alpha         2.1214        3.3753        .28226        .20432E-04
   3  Normalizat    .96266        .15262        .45696E-01    .73774E-05
   4  Prefactor     1.0449        .10406        .61156E-01    .71862E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.91848
  alpha      = 2.12136
  Normalizat = 0.962665
  Prefactor  = 1.04489
 **********
 **   18 **HESSE 
 **********

 FCN=   5151.897     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9185        .79456        .39318E-04   -1.5431    
   2  alpha         2.1214        .46200        .10490E-01   -.15204    
   3  Normalizat    .96266        .21992        .24773E-03   -.94292    
   4  Prefactor     1.0449        .24438        .27046E-03   -.91248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54998e-10
Minuit parameter uncertainties:
  1  0.794563
  2  0.464735
  3  0.220122
  4  0.244642
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/128534': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5151.89728732
delta logL = 0.0510327973097

Extracting fit parameters...

4FGL J0920.9+4441
   Spectrum: LogParabola
316         norm:  1.918e+00  7.946e-01  1.000e-04  1.000e+04 ( 1.000e-11)
317        alpha:  2.121e+00  4.647e-01  0.000e+00  5.000e+00 ( 1.000e+00)
318         beta:  1.363e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
319           Eb:  8.119e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
681    Prefactor:  1.045e+00  2.446e-01  0.000e+00  1.000e+01 ( 1.000e+00)
682        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
683        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
680   Normalization:  9.627e-01  2.201e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.81
Ra Dec: 140.229 44.699
Photon Index (Free Index): 2.12 +/- 0.46
Photon Flux (Free Index): 1.10e-07 +/- 6.84e-08
Energy Flux (Free Index): 5.01e-05 +/- 2.17e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/128534/cmap_HighResolution_268617601_268876801_4FGL_J0920.9+4441_daily_bin113.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/128534

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='5.01e-05', photon_flux_error='6.73e-08', dlogl='5.10e-02', energy_flux='4.83e-05', photon_flux2='1.10e-07', job_status='DONE', time_completed='2021-08-31 07:03:08.938945', photon_index_error2='0.46', photon_index2='2.12', ts='17.31', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='2.17e-05', EG='0.95', time_epoch_completed='1630418588.94', return_code='0', job_id='128534', GAL2='1.04', EG2='0.96', return_code2='0', energy_flux_error='2.58e-05', photon_flux_error2='6.84e-08', ts2='17.81', photon_index='2.27' WHERE bin_id='113' AND source_name='4FGL J0920.9+4441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:03:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 128534: <4FGL_J0920.9+4441_daily_bin113> in cluster <slac> Done

Job <4FGL_J0920.9+4441_daily_bin113> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 06:46:54 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:46:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 06:46:55 2021
Terminated at Tue Aug 31 07:03:10 2021
Results reported at Tue Aug 31 07:03:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.9+4441_daily_bin113 140.229 44.699 268617601 268876801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0920.9+4441 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   796.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             290.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   974 sec.
    Turnaround time :                            976 sec.

The output (if any) is above this job summary.

