/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 216 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 = 7380
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1436
RA = 140.1, Dec = -4.7311
tmin = 611539201, tmax = 611798401
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='128119', job_status='RUN', time_executed='2021-08-31 06:50:55.626464', time_epoch_executed='1630417855.63' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1436'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/128119

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/128119/ft1_4FGL_J0920.3-0443_daily_bin1436.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/128119/ft2_4FGL_J0920.3-0443_daily_bin1436.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/128119/ft1_4FGL_J0920.3-0443_daily_bin1436.fits outfile=/scratch/kocevski/128119/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1436.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=611539201.0 tmax=611798401.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 4.18
user 3.20
sys 0.44

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/128119/ft2_4FGL_J0920.3-0443_daily_bin1436.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/128119/ft2_4FGL_J0920.3-0443_daily_bin1436.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/128119/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1436.fits evtable="EVENTS" outfile="/scratch/kocevski/128119/ft1_filtered_4FGL_J0920.3-0443_daily_bin1436.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.46
user 0.33
sys 0.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/128119/ft1_filtered_4FGL_J0920.3-0443_daily_bin1436.fits" evtable="EVENTS" scfile=/scratch/kocevski/128119/ft2_4FGL_J0920.3-0443_daily_bin1436.fits sctable="SC_DATA" outfile=/scratch/kocevski/128119/ltcube_611539201_611798401_4FGL_J0920.3-0443_daily_bin1436.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/128119/ft2_4FGL_J0920.3-0443_daily_bin1436.fits
.....................!
real 14.09
user 11.74
sys 0.57

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/128119/ft1_filtered_4FGL_J0920.3-0443_daily_bin1436.fits evtable="EVENTS" scfile=/scratch/kocevski/128119/ft2_4FGL_J0920.3-0443_daily_bin1436.fits sctable="SC_DATA" expcube=/scratch/kocevski/128119/ltcube_611539201_611798401_4FGL_J0920.3-0443_daily_bin1436.fits outfile=/scratch/kocevski/128119/expmap_611539201_611798401_4FGL_J0920.3-0443_daily_bin1436.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/128119/ltcube_611539201_611798401_4FGL_J0920.3-0443_daily_bin1436.fits
.....................!
real 193.81
user 184.85
sys 5.31

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 149 point sources and 0 extended sources

Setting source of interest to:
4FGL J0920.3-0443 @ 140.1 -4.7311

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/128119/ft1_filtered_4FGL_J0920.3-0443_daily_bin1436.fits scfile=/scratch/kocevski/128119/ft2_4FGL_J0920.3-0443_daily_bin1436.fits outfile=/scratch/kocevski/128119/cmap_611539201_611798401_4FGL_J0920.3-0443_daily_bin1436.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.1 yref=-4.7311 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.45
user 0.38
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/128119/ft1_filtered_4FGL_J0920.3-0443_daily_bin1436.fits scfile=/scratch/kocevski/128119/ft2_4FGL_J0920.3-0443_daily_bin1436.fits outfile=/scratch/kocevski/128119/cmap_HighResolution_611539201_611798401_4FGL_J0920.3-0443_daily_bin1436.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.1 yref=-4.7311 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 2.12
user 0.38
sys 0.36

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/128119/ft1_filtered_4FGL_J0920.3-0443_daily_bin1436.fits evtable="EVENTS" scfile=/scratch/kocevski/128119/ft2_4FGL_J0920.3-0443_daily_bin1436.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/128119/Model_4FGL_J0920.3-0443_daily_bin1436.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/128119/ft1_filtered_4FGL_J0920.3-0443_daily_bin1436.fits.....................!
real 67.47
user 55.14
sys 1.52

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/128119/ft1_filtered_4FGL_J0920.3-0443_daily_bin1436.fits', '/scratch/kocevski/128119/ft2_4FGL_J0920.3-0443_daily_bin1436.fits', expMap='/scratch/kocevski/128119/expmap_611539201_611798401_4FGL_J0920.3-0443_daily_bin1436.fits', expCube='/scratch/kocevski/128119/ltcube_611539201_611798401_4FGL_J0920.3-0443_daily_bin1436.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/128119/Model_4FGL_J0920.3-0443_daily_bin1436.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0920.3-0443'

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.854e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
252        Scale:  9.913e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/128119/ft1_filtered_4FGL_J0920.3-0443_daily_bin1436.fits
Spacecraft file(s): /scratch/kocevski/128119/ft2_4FGL_J0920.3-0443_daily_bin1436.fits
Exposure map: /scratch/kocevski/128119/expmap_611539201_611798401_4FGL_J0920.3-0443_daily_bin1436.fits
Exposure cube: /scratch/kocevski/128119/ltcube_611539201_611798401_4FGL_J0920.3-0443_daily_bin1436.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/128119/Model_4FGL_J0920.3-0443_daily_bin1436.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5103.7470085

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.074       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .96431       1.0000         .10000E-03   10000.    
     3 'norm      '    24.052       1.0000         .10000E-03   10000.    
     4 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.808       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .98776       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.843       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.1198       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.843       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.1473       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .83186       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0764       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96037       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5103.653     FROM MIGRAD    STATUS=CONVERGED    723 CALLS     2117 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.074        13.626        .11078E-03    .60958E-04
   2  Prefactor     .92878        198.12        .66572E-02    .86276E-04
   3  norm          24.052        13.731        .81678E-04   -.47463E-04
   4  norm          .10000E-03    2.4200        .10783E-02** at limit **
   5  Prefactor     12.809        19.014        .11193E-03   -.40832E-04
   6  Prefactor     .10000E-03    5.2090        .15868E-02** at limit **
   7  norm          .10000E-03    5.5033        .32133E-03** at limit **
   8  norm          .98975        17.049        .30458E-02    .13175E-02
   9  Prefactor     22.847        23.630        .83808E-04   -.21134E-03
  10  Prefactor     3.1199        3.1569        .12318E-03    .37785E-03
  11  Prefactor     .10000E-03    23.334        .18142E-02** at limit **
  12  Prefactor     15.847        20.568        .10062E-03   -.93097E-04
  13  Prefactor     .10000E-03    19.284        .18142E-02** at limit **
  14  Prefactor     .10000E-03    22.775        .18142E-02** at limit **
  15  norm          1.1485        14.467        .43268E-03    .41191E-03
  16  norm          .10000E-03    1.3124        .79839E-03** at limit **
  17  norm          .10000E-03    2.0721        .83396E-03** at limit **
  18  norm          .83203        2.6248        .19366E-03    .43688E-03
  19  Normalizat    1.0763        .26597        .27473E-03    .18918E-03
  20  Prefactor     .96037        .19147        .21400E-03    .54259E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.0742
  Prefactor  = 0.928782
  norm       = 24.0516
  norm       = 0.0001
  Prefactor  = 12.8092
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.989753
  Prefactor  = 22.8471
  Prefactor  = 3.11986
  Prefactor  = 0.000100001
  Prefactor  = 15.8471
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  norm       = 1.1485
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.832027
  Normalizat = 1.07631
  Prefactor  = 0.960372
 **********
 **   18 **HESSE 
 **********

 FCN=   5103.653     FROM HESSE     STATUS=OK           275 CALLS     2392 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.074        13.623        .44312E-05   -1.4985    
   2  Prefactor     .92878        200.03        .26629E-03   -1.5515    
   3  norm          24.052        13.714        .32671E-05   -1.4727    
   4  norm          .10000E-03    2.4202        .21567E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.809        19.008        .44771E-05   -1.4992    
   6  Prefactor     .10000E-03    5.2100        .31736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    5.5035        .64266E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .98975        16.928        .60917E-03   -1.5509    
   9  Prefactor     22.847        23.609        .16762E-04   -1.4752    
  10  Prefactor     3.1199        3.1564        .49272E-05   -1.5355    
  11  Prefactor     .10000E-03    23.335        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.847        20.555        .40249E-05   -1.4912    
  13  Prefactor     .10000E-03    19.285        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    22.776        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1485        14.443        .17307E-04   -1.5494    
  16  norm          .10000E-03    1.3124        .15968E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.0869        .16679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .83203        2.6232        .77464E-05   -1.5526    
  19  Normalizat    1.0763        .26578        .54946E-04   -.90516    
  20  Prefactor     .96037        .19155        .42800E-04   -.94062    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04899e-09
Minuit parameter uncertainties:
  1  13.626
  2  27.3522
  3  13.7159
  4  1.24395e-05
  5  19.0165
  6  1.90017e-06
  7  8.39009e-05
  8  8.18886
  9  23.619
  10  3.15656
  11  0.000222048
  12  20.5639
  13  0.000360708
  14  0.000284855
  15  8.1478
  16  2.18432e-06
  17  1.00356e-05
  18  2.62351
  19  0.266113
  20  0.191681
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  2.285e+01  2.362e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.587e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
252        Scale:  9.913e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  9.604e-01  1.917e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  1.076e+00  2.661e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.33
Ra Dec: 140.100 -4.731
Photon Index (Fixed Index): 2.59 +/- 0.00
Photon Flux (Fixed Index): 5.44e-08 +/- 5.62e-08
Energy Flux (Fixed Index): 1.44e-05 +/- 1.49e-05

TS (Fixed Index): 1.33
Ra Dec: 140.100 -4.731
Photon Flux Upper Limit: 1.74e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.36e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/128119/likelihoodResults_611539201_611798401_4FGL_J0920.3-0443_daily_bin1436.txt

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) = 5103.6481233
delta logL = 0.00444011978561

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5103.6422815
delta logL = 0.0102819200356

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.442       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7348       1.0000          .0000       10.000    
     3 'Normalizat'    1.0689       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96448       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5103.642     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      241 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.434        38.302        .90837E-04   -.34042E-04
   2  Index         2.7350        1.2775        .79724E-02   -.19231E-04
   3  Normalizat    1.0689        .26097        .27558E-03   -.77182E-03
   4  Prefactor     .96445        .18944        .21361E-03   -.11641E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.4343
  Index      = 2.73505
  Normalizat = 1.06888
  Prefactor  = 0.964455
 **********
 **   18 **HESSE 
 **********

 FCN=   5103.642     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.434        32.105        .36335E-05   -1.4826    
   2  Index         2.7350        1.0722        .31890E-03   -.47012    
   3  Normalizat    1.0689        .25963        .55116E-04   -.90757    
   4  Prefactor     .96445        .18863        .42723E-04   -.93924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3295e-09
Minuit parameter uncertainties:
  1  32.1336
  2  1.08277
  3  0.259938
  4  0.188761
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/128119': 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) = 5103.64228146
delta logL = 0.0102819619215

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.943e+01  3.213e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.735e+00  1.083e+00  0.000e+00  1.000e+01 (-1.000e+00)
252        Scale:  9.913e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  9.645e-01  1.888e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  1.069e+00  2.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.35
Ra Dec: 140.100 -4.731
Photon Index (Free Index): 2.74 +/- 1.08
Photon Flux (Free Index): 5.95e-08 +/- 6.86e-08
Energy Flux (Free Index): 1.39e-05 +/- 1.45e-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/128119/cmap_HighResolution_611539201_611798401_4FGL_J0920.3-0443_daily_bin1436.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='5.44e-08', energy_flux2='1.39e-05', photon_flux_error='5.62e-08', dlogl='1.03e-02', energy_flux='1.44e-05', photon_flux2='5.95e-08', job_status='DONE', time_completed='2021-08-31 07:00:41.526668', photon_index_error2='1.08', photon_index2='2.74', ts='1.33', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.74e-07', energy_flux_error2='1.45e-05', EG='1.08', time_epoch_completed='1630418441.53', return_code='0', job_id='128119', GAL2='0.96', EG2='1.07', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='6.86e-08', ts2='1.35', photon_index='2.59' WHERE bin_id='1436' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:00:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 128119: <4FGL_J0920.3-0443_daily_bin1436> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1436> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 06:46:23 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:46:25 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:25 2021
Terminated at Tue Aug 31 07:00:41 2021
Results reported at Tue Aug 31 07:00:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1436 140.1 -4.7311 611539201 611798401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0920.3-0443 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   520.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             265.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            858 sec.

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

