/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 235 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_bin1419
RA = 140.1, Dec = -4.7311
tmin = 607132801, tmax = 607392001
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='128093', job_status='RUN', time_executed='2021-08-31 06:51:36.519819', time_epoch_executed='1630417896.52' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1419'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/128093

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/128093/ft1_4FGL_J0920.3-0443_daily_bin1419.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/128093/ft2_4FGL_J0920.3-0443_daily_bin1419.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/128093/ft1_4FGL_J0920.3-0443_daily_bin1419.fits outfile=/scratch/kocevski/128093/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1419.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=607132801.0 tmax=607392001.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 6.17
user 5.05
sys 0.92

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/128093/ft2_4FGL_J0920.3-0443_daily_bin1419.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/128093/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1419.fits evtable="EVENTS" outfile="/scratch/kocevski/128093/ft1_filtered_4FGL_J0920.3-0443_daily_bin1419.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.40
user 0.34
sys 0.77

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/128093/ft1_filtered_4FGL_J0920.3-0443_daily_bin1419.fits" evtable="EVENTS" scfile=/scratch/kocevski/128093/ft2_4FGL_J0920.3-0443_daily_bin1419.fits sctable="SC_DATA" outfile=/scratch/kocevski/128093/ltcube_607132801_607392001_4FGL_J0920.3-0443_daily_bin1419.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/128093/ft2_4FGL_J0920.3-0443_daily_bin1419.fits
.....................!
real 13.95
user 12.33
sys 1.08

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/128093/ft1_filtered_4FGL_J0920.3-0443_daily_bin1419.fits evtable="EVENTS" scfile=/scratch/kocevski/128093/ft2_4FGL_J0920.3-0443_daily_bin1419.fits sctable="SC_DATA" expcube=/scratch/kocevski/128093/ltcube_607132801_607392001_4FGL_J0920.3-0443_daily_bin1419.fits outfile=/scratch/kocevski/128093/expmap_607132801_607392001_4FGL_J0920.3-0443_daily_bin1419.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/128093/ltcube_607132801_607392001_4FGL_J0920.3-0443_daily_bin1419.fits
.....................!
real 194.77
user 187.74
sys 5.19

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/128093/ft1_filtered_4FGL_J0920.3-0443_daily_bin1419.fits scfile=/scratch/kocevski/128093/ft2_4FGL_J0920.3-0443_daily_bin1419.fits outfile=/scratch/kocevski/128093/cmap_607132801_607392001_4FGL_J0920.3-0443_daily_bin1419.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.68
user 0.41
sys 0.79

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/128093/ft1_filtered_4FGL_J0920.3-0443_daily_bin1419.fits scfile=/scratch/kocevski/128093/ft2_4FGL_J0920.3-0443_daily_bin1419.fits outfile=/scratch/kocevski/128093/cmap_HighResolution_607132801_607392001_4FGL_J0920.3-0443_daily_bin1419.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 1.37
user 0.40
sys 0.75

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/128093/ft1_filtered_4FGL_J0920.3-0443_daily_bin1419.fits evtable="EVENTS" scfile=/scratch/kocevski/128093/ft2_4FGL_J0920.3-0443_daily_bin1419.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/128093/Model_4FGL_J0920.3-0443_daily_bin1419.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/128093/ft1_filtered_4FGL_J0920.3-0443_daily_bin1419.fits.....................!
real 61.69
user 50.66
sys 2.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/128093/ft1_filtered_4FGL_J0920.3-0443_daily_bin1419.fits', '/scratch/kocevski/128093/ft2_4FGL_J0920.3-0443_daily_bin1419.fits', expMap='/scratch/kocevski/128093/expmap_607132801_607392001_4FGL_J0920.3-0443_daily_bin1419.fits', expCube='/scratch/kocevski/128093/ltcube_607132801_607392001_4FGL_J0920.3-0443_daily_bin1419.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/128093/Model_4FGL_J0920.3-0443_daily_bin1419.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/128093/ft1_filtered_4FGL_J0920.3-0443_daily_bin1419.fits
Spacecraft file(s): /scratch/kocevski/128093/ft2_4FGL_J0920.3-0443_daily_bin1419.fits
Exposure map: /scratch/kocevski/128093/expmap_607132801_607392001_4FGL_J0920.3-0443_daily_bin1419.fits
Exposure cube: /scratch/kocevski/128093/ltcube_607132801_607392001_4FGL_J0920.3-0443_daily_bin1419.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/128093/Model_4FGL_J0920.3-0443_daily_bin1419.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) = 4515.2120858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.014       1.0000         .10000E-03   10000.    
     2 'Prefactor '    28.098       1.0000         .10000E-03   10000.    
     3 'norm      '    6.9258       1.0000         .10000E-03   10000.    
     4 'norm      '    .65052       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.124       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1805       1.0000         .10000E-03   10000.    
     7 'norm      '    .49497E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    2.3044       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12415E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10513E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    50.966       1.0000         .10000E-03   10000.    
    12 'Prefactor '    33.861       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.2755       1.0000         .10000E-03   10000.    
    14 'Prefactor '    129.74       1.0000         .10000E-03   10000.    
    15 'norm      '    10.709       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .43108       1.0000         .10000E-03   10000.    
    18 'norm      '    2.2781       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .79593       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2329       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.

 FCN=   4515.159     FROM MIGRAD    STATUS=CONVERGED    450 CALLS     2262 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.011        11.342        .12472E-07   -.22684E-04
   2  Prefactor     28.082        42.552        .13423E-05   -.12607E-04
   3  norm          6.9219        12.783       -.71954E-06   -.56529E-04
   4  norm          .65077        4.0341        .11937E-05   -.18315E-03
   5  Prefactor     11.106        23.800        .40503E-05   -.12921E-04
   6  Prefactor     3.1807        10.236       -.58470E-06   -.58009E-04
   7  norm          .10008E-03    2.8778        .37569E-06** at limit **
   8  norm          2.3047        5.2154       -.38383E-07   -.10606E-03
   9  Prefactor     .10203E-03    30.635        .38783E-05** at limit **
  10  Prefactor     .10000E-03    2.4086        .28484E-07** at limit **
  11  Prefactor     51.041        58.056       -.18401E-05   -.11001E-03
  12  Prefactor     33.859        18.892        .16756E-06   -.10433E-03
  13  Prefactor     6.2589        106.56       -.12787E-05   -.76441E-05
  14  Prefactor     129.73        77.684       -.68410E-06   -.41117E-05
  15  norm          10.710        14.662        .46588E-06   -.82333E-05
  16  norm          .10000E-03    1.8688        .24971E-07** at limit **
  17  norm          .43081        .65681        .21596E-06    .92503E-04
  18  norm          2.2779        2.1493        .62465E-07    .11882E-06
  19  Normalizat    .79597        .27133       -.35503E-05   -.16301E-03
  20  Prefactor     1.2330        .19726        .13225E-06   -.30279E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.0108
  Prefactor  = 28.0819
  norm       = 6.92194
  norm       = 0.650773
  Prefactor  = 11.1064
  Prefactor  = 3.18075
  norm       = 0.000100078
  norm       = 2.30472
  Prefactor  = 0.00010203
  Prefactor  = 0.0001
  Prefactor  = 51.0412
  Prefactor  = 33.8585
  Prefactor  = 6.2589
  Prefactor  = 129.728
  norm       = 10.7096
  norm       = 0.0001
  norm       = 0.43081
  norm       = 2.27793
  Normalizat = 0.795967
  Prefactor  = 1.23302
 **********
 **   18 **HESSE 
 **********

 FCN=   4515.159     FROM HESSE     STATUS=OK           315 CALLS     2577 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.011        11.341        .10699E-03   -1.4959    
   2  Prefactor     28.082        42.549        .75579E-04   -1.4648    
   3  norm          6.9219        12.619        .15245E-03   -1.5182    
   4  norm          .65077        3.7764        .24759E-03   -1.5547    
   5  Prefactor     11.106        23.871        .12012E-03   -1.5041    
   6  Prefactor     3.1807        10.193        .22723E-03   -1.5351    
   7  norm          .10008E-03    95.358        .21499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.3047        5.1822        .22266E-03   -1.5404    
   9  Prefactor     .10203E-03    41.549        .89707E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.5416        .20213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     51.041        65.620        .56176E-04   -1.4278    
  12  Prefactor     33.859        18.883        .68864E-04   -1.4544    
  13  Prefactor     6.2589        105.53        .16024E-03   -1.5208    
  14  Prefactor     129.73        77.563        .35348E-04   -1.3425    
  15  norm          10.710        14.635        .12243E-03   -1.5053    
  16  norm          .10000E-03    1.8729        .89711E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .43081        .63456        .62733E-03   -1.5577    
  18  norm          2.2779        2.1509        .92878E-04   -1.5406    
  19  Normalizat    .79597        .30644        .33045E-03   -1.0022    
  20  Prefactor     1.2330        .22871        .20832E-03   -.85321    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28629e-09
Minuit parameter uncertainties:
  1  11.343
  2  42.5949
  3  12.624
  4  3.13541
  5  23.892
  6  10.1989
  7  0.00547641
  8  5.18317
  9  0.0183815
  10  8.9246e-05
  11  65.7135
  12  18.8865
  13  51.507
  14  77.6241
  15  14.6403
  16  3.41192e-06
  17  0.634572
  18  2.15099
  19  0.307111
  20  0.228897
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.020e-04  1.838e-02  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:  1.233e+00  2.289e-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:  7.960e-01  3.071e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/128093/likelihoodResults_607132801_607392001_4FGL_J0920.3-0443_daily_bin1419.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): 102
logL (Free Index) = 4515.15858786
delta logL = -1.0481564459e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4515.15858786
delta logL = -1.04790942714e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96360E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5868       1.0000          .0000       10.000    
     3 'Normalizat'    .79595       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2330       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4515.155     FROM MIGRAD    STATUS=CONVERGED    154 CALLS      336 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77498        133.68        .18142E-02    .34105E-03
   2  Index         3.2243        5.7611        .76141E-02    .91874E-05
   3  Normalizat    .78997        .29581        .33158E-03   -.30172E-05
   4  Prefactor     1.2353        .22220        .20815E-03   -.29494E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.774979
  Index      = 3.2243
  Normalizat = 0.789975
  Prefactor  = 1.2353
 **********
 **   18 **HESSE 
 **********

 FCN=   4515.155     FROM HESSE     STATUS=OK            27 CALLS      363 TOTAL
                     EDM=   .34E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77498        49.808        .36285E-03   -1.5532    
   2  Index         3.2243        6.6090        .15228E-02   -.36306    
   3  Normalizat    .78997        .29449        .13263E-04   -1.0044    
   4  Prefactor     1.2353        .22241        .41629E-04   -.85252    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.36096e-12
Minuit parameter uncertainties:
  1  12.4358
  2  5.87961
  3  0.295081
  4  0.222575
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/128093': 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) = 4515.15514892
delta logL = 0.00342846106014

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  7.750e-01  1.244e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  3.224e+00  5.880e+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:  1.235e+00  2.226e-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:  7.900e-01  2.951e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 140.100 -4.731

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/128093/cmap_HighResolution_607132801_607392001_4FGL_J0920.3-0443_daily_bin1419.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', job_status='DONE', photon_flux_upper_limit='1.40e-07', time_completed='2021-08-31 07:01:16.262492', job_id='128093', GAL2='1.24', fit_tolerance='1e-08', EG2='0.79', EG='0.80', time_epoch_completed='1630418476.26', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='3.43e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1419' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:01:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 128093: <4FGL_J0920.3-0443_daily_bin1419> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1419 140.1 -4.7311 607132801 607392001 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 :                                   541.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             212.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            895 sec.

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

