/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 137 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 = 7411
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0920.3-0443_daily_bin415
RA = 140.1, Dec = -4.7311
tmin = 346896001, tmax = 347155201
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='122948', job_status='RUN', time_executed='2021-08-31 06:35:30.481616', time_epoch_executed='1630416930.48' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='415'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/122948

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/122948/ft1_4FGL_J0920.3-0443_daily_bin415.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/122948/ft2_4FGL_J0920.3-0443_daily_bin415.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/122948/ft1_4FGL_J0920.3-0443_daily_bin415.fits outfile=/scratch/kocevski/122948/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin415.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=346896001.0 tmax=347155201.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.66
user 3.22
sys 0.56

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/122948/ft1_filtered_4FGL_J0920.3-0443_daily_bin415.fits" evtable="EVENTS" scfile=/scratch/kocevski/122948/ft2_4FGL_J0920.3-0443_daily_bin415.fits sctable="SC_DATA" outfile=/scratch/kocevski/122948/ltcube_346896001_347155201_4FGL_J0920.3-0443_daily_bin415.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/122948/ft2_4FGL_J0920.3-0443_daily_bin415.fits
.....................!
real 13.23
user 11.49
sys 0.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/122948/ft1_filtered_4FGL_J0920.3-0443_daily_bin415.fits evtable="EVENTS" scfile=/scratch/kocevski/122948/ft2_4FGL_J0920.3-0443_daily_bin415.fits sctable="SC_DATA" expcube=/scratch/kocevski/122948/ltcube_346896001_347155201_4FGL_J0920.3-0443_daily_bin415.fits outfile=/scratch/kocevski/122948/expmap_346896001_347155201_4FGL_J0920.3-0443_daily_bin415.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/122948/ltcube_346896001_347155201_4FGL_J0920.3-0443_daily_bin415.fits
.....................!
real 195.10
user 185.69
sys 5.55

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/122948/ft1_filtered_4FGL_J0920.3-0443_daily_bin415.fits scfile=/scratch/kocevski/122948/ft2_4FGL_J0920.3-0443_daily_bin415.fits outfile=/scratch/kocevski/122948/cmap_346896001_347155201_4FGL_J0920.3-0443_daily_bin415.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.40
user 0.37
sys 0.49

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/122948/ft1_filtered_4FGL_J0920.3-0443_daily_bin415.fits scfile=/scratch/kocevski/122948/ft2_4FGL_J0920.3-0443_daily_bin415.fits outfile=/scratch/kocevski/122948/cmap_HighResolution_346896001_347155201_4FGL_J0920.3-0443_daily_bin415.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.26
user 0.38
sys 0.49

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/122948/ft1_filtered_4FGL_J0920.3-0443_daily_bin415.fits evtable="EVENTS" scfile=/scratch/kocevski/122948/ft2_4FGL_J0920.3-0443_daily_bin415.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/122948/Model_4FGL_J0920.3-0443_daily_bin415.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/122948/ft1_filtered_4FGL_J0920.3-0443_daily_bin415.fits.....................!
real 71.45
user 58.33
sys 1.57

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9218       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.2095       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.3646       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    21.136       1.0000         .10000E-03   10000.    
     8 'norm      '    11.102       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .14822E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.0104       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13564E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.623       1.0000         .10000E-03   10000.    
    15 'norm      '    .12601E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.5737       1.0000         .10000E-03   10000.    
    18 'norm      '    2.9264       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1711       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .74157       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=   5252.285     FROM MIGRAD    STATUS=CONVERGED    417 CALLS     2025 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9228        6.5877        .20965E-06   -.36745E-04
   2  Prefactor     .10000E-03    14.480        .54043E-06** at limit **
   3  norm          .10000E-03    2.7514       -.13942E-07** at limit **
   4  norm          2.2115        3.5359       -.23477E-06   -.45575E-03
   5  Prefactor     9.3662        18.372       -.35009E-06   -.31904E-04
   6  Prefactor     .10000E-03    5.6762       -.14475E-07** at limit **
   7  norm          21.138        6.6621       -.19978E-07   -.12302E-03
   8  norm          11.099        7.5506       -.16183E-06   -.17942E-03
   9  Prefactor     .10000E-03    61.079        .17959E-04** at limit **
  10  Prefactor     7.0115        4.3170       -.87434E-07   -.13270E-03
  11  Prefactor     .10000E-03    24.916       -.93960E-06** at limit **
  12  Prefactor     .10000E-03    12.263       -.33765E-06** at limit **
  13  Prefactor     .10000E-03    66.157       -.18976E-04** at limit **
  14  Prefactor     16.615        30.138       -.77797E-05   -.58421E-05
  15  norm          .10000E-03    6.3306        .40389E-06** at limit **
  16  norm          .10000E-03    1.1612        .93464E-08** at limit **
  17  norm          1.5739        .68059       -.25444E-07   -.30475E-03
  18  norm          2.9266        1.8948       -.19461E-07   -.28685E-04
  19  Normalizat    1.1710        .20715       -.20051E-07   -.70082E-04
  20  Prefactor     .74147        .14742        .65399E-06   -.54439E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.9228
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.21146
  Prefactor  = 9.36615
  Prefactor  = 0.0001
  norm       = 21.1378
  norm       = 11.0991
  Prefactor  = 0.000100002
  Prefactor  = 7.01153
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.6148
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.57386
  norm       = 2.92662
  Normalizat = 1.17096
  Prefactor  = 0.741474
 **********
 **   18 **HESSE 
 **********

 FCN=   5252.285     FROM HESSE     STATUS=OK           293 CALLS     2318 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9228        6.5819        .18129E-03   -1.5264    
   2  Prefactor     .10000E-03    14.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.7536        .11738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.2115        3.4945        .15704E-03   -1.5411    
   5  Prefactor     9.3662        18.225        .13096E-03   -1.5096    
   6  Prefactor     .10000E-03    5.7750        .16857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          21.138        6.6898        .87122E-04   -1.4788    
   8  norm          11.099        7.5562        .12024E-03   -1.5042    
   9  Prefactor     .10000E-03    61.902        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.0115        4.3214        .11287E-03   -1.5178    
  11  Prefactor     .10000E-03    24.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    66.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.615        30.208        .98236E-04   -1.4893    
  15  norm          .10000E-03    6.4248        .17785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.1647        .76258E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.5739        .67628        .37503E-04   -1.5457    
  18  norm          2.9266        1.8939        .77862E-04   -1.5366    
  19  Normalizat    1.1710        .24510        .25416E-03   -.87505    
  20  Prefactor     .74147        .17374        .22776E-03   -1.0192    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18725e-10
Minuit parameter uncertainties:
  1  6.58282
  2  2.58506e-06
  3  8.86633e-07
  4  3.49487
  5  18.2362
  6  2.40643e-06
  7  6.69007
  8  7.5568
  9  0.000631496
  10  4.32156
  11  3.39875e-05
  12  7.91708e-06
  13  0.000240658
  14  30.2353
  15  9.8521e-05
  16  9.96615e-08
  17  0.676278
  18  1.89398
  19  0.245341
  20  0.173872
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  6.315e-04  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:  7.415e-01  1.739e-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.171e+00  2.453e-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: 9.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/122948/likelihoodResults_346896001_347155201_4FGL_J0920.3-0443_daily_bin415.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) = 5252.28514617
delta logL = -7.70123706388e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5252.28506946
delta logL = -3.03974047711e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5306       1.0000          .0000       10.000    
     3 'Normalizat'    1.1710       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74148       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.

 FCN=   5252.285     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      253 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10029E-03    12.490        .90712E-01** at limit **
   2  Index         2.6404        3.6241        .50000       -.26424E-04
   3  Normalizat    1.1710        .49602E-02    .57472E-01    .75091E-04
   4  Prefactor     .74147        .36381E-02    .42951E-01    .15616E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100292
  Index      = 2.64035
  Normalizat = 1.17096
  Prefactor  = 0.741473
 **********
 **   18 **HESSE 
 **********

 FCN=   5252.285     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      290 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10029E-03    2155.8        .51984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6404        7.9505        .50000       -.49148    
   3  Normalizat    1.1710        .26390E-01    .25416E-03   -.87505    
   4  Prefactor     .74147        .19350E-01    .22776E-03   -1.0192    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.55779e-07
Minuit parameter uncertainties:
  1  0.052143
  2  22.0615
  3  0.0263907
  4  0.0193498
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/122948': 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): 102
logL (Free Index) = 5252.28506886
delta logL = 3.01159161609e-07

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.003e-04  5.214e-02  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.640e+00  2.206e+01  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:  7.415e-01  1.935e-02  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.171e+00  2.639e-02  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/122948/cmap_HighResolution_346896001_347155201_4FGL_J0920.3-0443_daily_bin415.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.71e-03', job_status='DONE', photon_flux_upper_limit='9.86e-08', time_completed='2021-08-31 06:44:44.353739', job_id='122948', GAL2='0.74', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1630417484.35', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='3.01e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='415' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:44:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 122948: <4FGL_J0920.3-0443_daily_bin415> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin415> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Tue Aug 31 06:31:40 2021
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:31:41 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:31:41 2021
Terminated at Tue Aug 31 06:44:44 2021
Results reported at Tue Aug 31 06:44:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin415 140.1 -4.7311 346896001 347155201 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 :                                   530.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             229.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            784 sec.

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

