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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1451
RA = 140.1, Dec = -4.7311
tmin = 615427201, tmax = 615686401
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='128142', job_status='RUN', time_executed='2021-08-31 06:51:29.170397', time_epoch_executed='1630417889.17' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1451'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/128142

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/128142/ft1_4FGL_J0920.3-0443_daily_bin1451.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/128142/ft2_4FGL_J0920.3-0443_daily_bin1451.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/128142/ft1_4FGL_J0920.3-0443_daily_bin1451.fits outfile=/scratch/kocevski/128142/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1451.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=615427201.0 tmax=615686401.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 5.52
user 3.21
sys 1.65

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/128142/ft1_filtered_4FGL_J0920.3-0443_daily_bin1451.fits" evtable="EVENTS" scfile=/scratch/kocevski/128142/ft2_4FGL_J0920.3-0443_daily_bin1451.fits sctable="SC_DATA" outfile=/scratch/kocevski/128142/ltcube_615427201_615686401_4FGL_J0920.3-0443_daily_bin1451.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/128142/ft2_4FGL_J0920.3-0443_daily_bin1451.fits
.....................!
real 13.85
user 11.39
sys 1.96

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/128142/ft1_filtered_4FGL_J0920.3-0443_daily_bin1451.fits evtable="EVENTS" scfile=/scratch/kocevski/128142/ft2_4FGL_J0920.3-0443_daily_bin1451.fits sctable="SC_DATA" expcube=/scratch/kocevski/128142/ltcube_615427201_615686401_4FGL_J0920.3-0443_daily_bin1451.fits outfile=/scratch/kocevski/128142/expmap_615427201_615686401_4FGL_J0920.3-0443_daily_bin1451.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/128142/ltcube_615427201_615686401_4FGL_J0920.3-0443_daily_bin1451.fits
.....................!
real 195.99
user 185.93
sys 6.86

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/128142/ft1_filtered_4FGL_J0920.3-0443_daily_bin1451.fits scfile=/scratch/kocevski/128142/ft2_4FGL_J0920.3-0443_daily_bin1451.fits outfile=/scratch/kocevski/128142/cmap_615427201_615686401_4FGL_J0920.3-0443_daily_bin1451.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 3.20
user 0.33
sys 1.52

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/128142/ft1_filtered_4FGL_J0920.3-0443_daily_bin1451.fits scfile=/scratch/kocevski/128142/ft2_4FGL_J0920.3-0443_daily_bin1451.fits outfile=/scratch/kocevski/128142/cmap_HighResolution_615427201_615686401_4FGL_J0920.3-0443_daily_bin1451.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 3.23
user 0.37
sys 1.52

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/128142/ft1_filtered_4FGL_J0920.3-0443_daily_bin1451.fits evtable="EVENTS" scfile=/scratch/kocevski/128142/ft2_4FGL_J0920.3-0443_daily_bin1451.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/128142/Model_4FGL_J0920.3-0443_daily_bin1451.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/128142/ft1_filtered_4FGL_J0920.3-0443_daily_bin1451.fits.....................!
real 76.75
user 58.43
sys 3.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    30.067       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.8163       1.0000         .10000E-03   10000.    
     4 'norm      '    3.2089       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10708E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.4875       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.6190       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.7701       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    51.963       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.183       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .37450E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10201E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.0282       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .72792       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1031       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=   5993.730     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     2068 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          30.067        12.089        .34998E-07   -.27014E-04
   2  Prefactor     .10000E-03    28.196       -.17066E-06** at limit **
   3  norm          8.8140        7.1051       -.89535E-06   -.13202E-02
   4  norm          3.2082        2.3780        .39183E-07    .89802E-05
   5  Prefactor     .10000E-03    11.423       -.16667E-08** at limit **
   6  Prefactor     .10000E-03    2.8077       -.14344E-07** at limit **
   7  norm          .10000E-03    1.4833        .25530E-07** at limit **
   8  norm          1.4830        6.9102       -.37558E-05   -.48475E-03
   9  Prefactor     2.6341        44.186        .93310E-05   -.22838E-03
  10  Prefactor     7.7703        4.2219        .15165E-07   -.92099E-05
  11  Prefactor     .10000E-03    56.183        .72870E-06** at limit **
  12  Prefactor     51.956        21.914       -.13985E-05    .56469E-03
  13  Prefactor     14.190        18.331        .49199E-06   -.11667E-03
  14  Prefactor     .10000E-03    12.663        .57095E-07** at limit **
  15  norm          .10000E-03    4.2606       -.73342E-07** at limit **
  16  norm          .10000E-03    2.6257       -.25431E-07** at limit **
  17  norm          .10000E-03    .33098        .41448E-07** at limit **
  18  norm          2.0281        1.6418       -.13051E-07    .17972E-04
  19  Normalizat    .72755        .19908        .46955E-06   -.20299E-04
  20  Prefactor     1.1034        .14445       -.24489E-07    .14412E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 30.0668
  Prefactor  = 0.0001
  norm       = 8.81401
  norm       = 3.20825
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.48299
  Prefactor  = 2.63406
  Prefactor  = 7.77033
  Prefactor  = 0.000100001
  Prefactor  = 51.9561
  Prefactor  = 14.1903
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.02808
  Normalizat = 0.727549
  Prefactor  = 1.10344
 **********
 **   18 **HESSE 
 **********

 FCN=   5993.730     FROM HESSE     STATUS=OK           289 CALLS     2357 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          30.067        12.085        .73068E-04   -1.4611    
   2  Prefactor     .10000E-03    28.348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.8140        8.0205        .67497E-03   -1.5114    
   4  norm          3.2082        2.3784        .99245E-04   -1.5350    
   5  Prefactor     .10000E-03    11.719        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.8202        .12667E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.5038        .92047E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.4830        8.9386        .35163E-03   -1.5464    
   9  Prefactor     2.6341        39.116        .25202E-03   -1.5383    
  10  Prefactor     7.7703        4.2200        .11247E-03   -1.5150    
  11  Prefactor     .10000E-03    56.252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     51.956        21.389        .55637E-04   -1.4265    
  13  Prefactor     14.190        18.282        .10636E-03   -1.4954    
  14  Prefactor     .10000E-03    12.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    9.2009        .30919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.6858        .12245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .54178        .85211E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.0281        1.6469        .86626E-04   -1.5423    
  19  Normalizat    .72755        .22996        .30888E-03   -1.0282    
  20  Prefactor     1.1034        .16820        .19458E-03   -.89357    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02382e-09
Minuit parameter uncertainties:
  1  12.0862
  2  5.1146e-05
  3  8.02151
  4  2.37844
  5  8.85198e-06
  6  2.10737e-06
  7  3.65931e-06
  8  7.2831
  9  20.3167
  10  4.22017
  11  0.000581172
  12  21.3926
  13  18.2889
  14  1.05315e-05
  15  3.17909e-05
  16  3.46522e-06
  17  2.95876e-06
  18  1.64689
  19  0.23027
  20  0.168284
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  2.634e+00  2.032e+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:  1.103e+00  1.683e-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.275e-01  2.303e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 140.100 -4.731
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/128142/likelihoodResults_615427201_615686401_4FGL_J0920.3-0443_daily_bin1451.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) = 5993.72292116
delta logL = 0.00690469050642

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5993.71842804
delta logL = 0.0113978095724

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9155       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1283       1.0000          .0000       10.000    
     3 'Normalizat'    .73028       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1012       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5993.718     FROM MIGRAD    STATUS=FAILED        89 CALLS      263 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9322        32.804        .18141E-03   -.34072E-03
   2  Index         2.1272        2.2331        .10823E-01   -.26486E-03
   3  Normalizat    .73035        .21917        .30832E-03    .29819E-02
   4  Prefactor     1.1012        .16721        .19475E-03    .45895E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5993.718     FROM SIMPLEX   STATUS=UNCHANGED     70 CALLS      333 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9322        32.804        .43481E-03   -1.5264    
   2  Index         2.1272        2.2331        .19941E-02   -.61207    
   3  Normalizat    .73035        .21917        .34380E-03   -1.0271    
   4  Prefactor     1.1012        .16721        .24100E-03   -.89429    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5993.718     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      361 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9334        32.534        .72565E-05   -.94001E-04
   2  Index         2.1275        2.2251        .43291E-03   -.47007E-05
   3  Normalizat    .73034        .21932        .61664E-04   -.21755E-04
   4  Prefactor     1.1012        .16728        .38950E-04   -.23350E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.93339
  Index      = 2.12755
  Normalizat = 0.730338
  Prefactor  = 1.10116
 **********
 **   18 **HESSE 
 **********

 FCN=   5993.718     FROM HESSE     STATUS=OK            23 CALLS      384 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9334        32.728        .14513E-05   -1.5264    
   2  Index         2.1275        2.2249        .17316E-04   -.61198    
   3  Normalizat    .73034        .21938        .12333E-04   -1.0271    
   4  Prefactor     1.1012        .16733        .77900E-05   -.89429    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17551e-10
Minuit parameter uncertainties:
  1  25.4334
  2  2.35228
  3  0.219648
  4  0.167408
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/128142': 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) = 5993.7184277
delta logL = 0.0113981534441

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  4.933e+00  2.543e+01  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  2.128e+00  2.352e+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.101e+00  1.674e-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.303e-01  2.196e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/128142/cmap_HighResolution_615427201_615686401_4FGL_J0920.3-0443_daily_bin1451.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.00e-03', job_status='DONE', photon_flux_upper_limit='1.15e-07', time_completed='2021-08-31 07:01:59.569620', job_id='128142', GAL2='1.10', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1630418519.57', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.14e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1451' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 07:01:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 128142: <4FGL_J0920.3-0443_daily_bin1451> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1451 140.1 -4.7311 615427201 615686401 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 :                                   586.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             243.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   934 sec.
    Turnaround time :                            935 sec.

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

