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


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1418
RA = 140.1, Dec = -4.7311
tmin = 606873601, tmax = 607132801
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='128092', job_status='RUN', time_executed='2021-08-31 06:49:51.953013', time_epoch_executed='1630417791.95' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1418'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/128092

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/128092/ft1_4FGL_J0920.3-0443_daily_bin1418.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/128092/ft2_4FGL_J0920.3-0443_daily_bin1418.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/128092/ft1_4FGL_J0920.3-0443_daily_bin1418.fits outfile=/scratch/kocevski/128092/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1418.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=606873601.0 tmax=607132801.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.79
user 5.09
sys 0.45

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/128092/ft1_filtered_4FGL_J0920.3-0443_daily_bin1418.fits" evtable="EVENTS" scfile=/scratch/kocevski/128092/ft2_4FGL_J0920.3-0443_daily_bin1418.fits sctable="SC_DATA" outfile=/scratch/kocevski/128092/ltcube_606873601_607132801_4FGL_J0920.3-0443_daily_bin1418.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/128092/ft2_4FGL_J0920.3-0443_daily_bin1418.fits
.....................!
real 12.68
user 12.00
sys 0.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/128092/ft1_filtered_4FGL_J0920.3-0443_daily_bin1418.fits evtable="EVENTS" scfile=/scratch/kocevski/128092/ft2_4FGL_J0920.3-0443_daily_bin1418.fits sctable="SC_DATA" expcube=/scratch/kocevski/128092/ltcube_606873601_607132801_4FGL_J0920.3-0443_daily_bin1418.fits outfile=/scratch/kocevski/128092/expmap_606873601_607132801_4FGL_J0920.3-0443_daily_bin1418.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/128092/ltcube_606873601_607132801_4FGL_J0920.3-0443_daily_bin1418.fits
.....................!
real 190.84
user 185.39
sys 4.80

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/128092/ft1_filtered_4FGL_J0920.3-0443_daily_bin1418.fits scfile=/scratch/kocevski/128092/ft2_4FGL_J0920.3-0443_daily_bin1418.fits outfile=/scratch/kocevski/128092/cmap_606873601_607132801_4FGL_J0920.3-0443_daily_bin1418.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 0.74
user 0.38
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/128092/ft1_filtered_4FGL_J0920.3-0443_daily_bin1418.fits scfile=/scratch/kocevski/128092/ft2_4FGL_J0920.3-0443_daily_bin1418.fits outfile=/scratch/kocevski/128092/cmap_HighResolution_606873601_607132801_4FGL_J0920.3-0443_daily_bin1418.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 0.74
user 0.38
sys 0.35

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/128092/ft1_filtered_4FGL_J0920.3-0443_daily_bin1418.fits evtable="EVENTS" scfile=/scratch/kocevski/128092/ft2_4FGL_J0920.3-0443_daily_bin1418.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/128092/Model_4FGL_J0920.3-0443_daily_bin1418.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/128092/ft1_filtered_4FGL_J0920.3-0443_daily_bin1418.fits.....................!
real 47.42
user 45.73
sys 1.45

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.455       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0203       1.0000         .10000E-03   10000.    
     3 'norm      '    17.501       1.0000         .10000E-03   10000.    
     4 'norm      '    3.8493       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.8712       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11398E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    142.44       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.9285       1.0000         .10000E-03   10000.    
    13 'Prefactor '    37.243       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10655E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.641       1.0000         .10000E-03   10000.    
    16 'norm      '    2.5233       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .82118       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .87399       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=   3891.515     FROM MIGRAD    STATUS=CONVERGED    422 CALLS     2033 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.457        17.418        .18427E-06   -.13777E-04
   2  Prefactor     .98468        138.23       -.32270E-04    .12086E-03
   3  norm          17.502        11.786       -.22254E-06   -.59642E-04
   4  norm          3.8494        3.7035        .62455E-07    .94072E-05
   5  Prefactor     .10000E-03    14.886       -.57485E-07** at limit **
   6  Prefactor     .10000E-03    7.4279        .22146E-08** at limit **
   7  norm          .10000E-03    1.6016        .72757E-07** at limit **
   8  norm          4.8724        6.6695        .27466E-05    .10797E-02
   9  Prefactor     .10000E-03    30.649        .10641E-05** at limit **
  10  Prefactor     .10000E-03    1.9147        .42315E-07** at limit **
  11  Prefactor     142.43        70.236        .52043E-05    .68815E-04
  12  Prefactor     9.9299        13.704       -.93793E-07   -.11271E-04
  13  Prefactor     37.246        45.723       -.40961E-05   -.59970E-04
  14  Prefactor     .10000E-03    42.773       -.50637E-05** at limit **
  15  norm          10.638        10.271        .10386E-05    .14954E-03
  16  norm          2.5229        4.1787        .29067E-06    .89720E-04
  17  norm          .10000E-03    .18492       -.16625E-08** at limit **
  18  norm          .10000E-03    1.9848        .19071E-07** at limit **
  19  Normalizat    .82088        .23316       -.13624E-05    .10143E-04
  20  Prefactor     .87418        .16402       -.29217E-06   -.18558E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.4571
  Prefactor  = 0.984685
  norm       = 17.5017
  norm       = 3.84945
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.87243
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 142.429
  Prefactor  = 9.92986
  Prefactor  = 37.2465
  Prefactor  = 0.000100001
  norm       = 10.6378
  norm       = 2.52293
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.820882
  Prefactor  = 0.874177
 **********
 **   18 **HESSE 
 **********

 FCN=   3891.515     FROM HESSE     STATUS=OK           291 CALLS     2324 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.457        17.446        .95865E-04   -1.4872    
   2  Prefactor     .98468        175.13        .63790E-02   -1.5510    
   3  norm          17.502        11.760        .95738E-04   -1.4871    
   4  norm          3.8494        3.6975        .11202E-03   -1.5316    
   5  Prefactor     .10000E-03    14.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.5312        .16601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.6087        .77089E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.8724        8.4869        .91127E-03   -1.5266    
   9  Prefactor     .10000E-03    30.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.9434        .84262E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     142.43        70.276        .33757E-04   -1.3315    
  12  Prefactor     9.9299        13.719        .12717E-03   -1.5078    
  13  Prefactor     37.246        45.825        .65673E-04   -1.4487    
  14  Prefactor     .10000E-03    42.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.638        10.315        .12282E-03   -1.5056    
  16  norm          2.5229        4.1668        .15842E-03   -1.5390    
  17  norm          .10000E-03    .19395        .52325E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.0616        .17146E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .82088        .27607        .28269E-03   -.99299    
  20  Prefactor     .87418        .19544        .20135E-03   -.97049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65509e-09
Minuit parameter uncertainties:
  1  17.4508
  2  26.3411
  3  11.7611
  4  3.6977
  5  6.0098e-05
  6  2.0362e-05
  7  2.6834e-06
  8  8.48903
  9  0.000452259
  10  6.88507e-06
  11  70.3177
  12  13.7232
  13  45.8686
  14  0.000301885
  15  10.3164
  16  4.16725
  17  2.97783e-07
  18  6.8972e-06
  19  0.276542
  20  0.1956
Done.

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

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  4.523e-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:  8.742e-01  1.956e-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:  8.209e-01  2.765e-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.54e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.20e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/128092/likelihoodResults_606873601_607132801_4FGL_J0920.3-0443_daily_bin1418.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) = 3891.51507182
delta logL = -0.000155815296239

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3891.51491615
delta logL = -1.43384568219e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0738       1.0000          .0000       10.000    
     3 'Normalizat'    .82088       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87418       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=   3891.515     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      245 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.802        .90712E-02** at limit **
   2  Index         3.0598        6.3860        .50000        .45226E-05
   3  Normalizat    .82088        .39777E-02    .63907E-01    .74121E-04
   4  Prefactor     .87418        .29331E-02    .44675E-01    .61693E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 3.05984
  Normalizat = 0.820879
  Prefactor  = 0.87418
 **********
 **   18 **HESSE 
 **********

 FCN=   3891.515     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      278 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    202.46        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0598        6.4140        .50000       -.39850    
   3  Normalizat    .82088        .15213E-01    .28269E-03   -.99299    
   4  Prefactor     .87418        .11230E-01    .20135E-03   -.97049    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.97765e-07
Minuit parameter uncertainties:
  1  0.000791997
  2  467.263
  3  0.0152129
  4  0.01123
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/128092': 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) = 3891.51491612
delta logL = -1.19222477224e-07

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  7.920e-04  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  3.060e+00  4.673e+02  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:  8.742e-01  1.123e-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:  8.209e-01  1.521e-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/128092/cmap_HighResolution_606873601_607132801_4FGL_J0920.3-0443_daily_bin1418.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-02', job_status='DONE', photon_flux_upper_limit='1.54e-07', time_completed='2021-08-31 06:57:50.511187', job_id='128092', GAL2='0.87', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1630418270.51', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='-1.19e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1418' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:57:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 128092: <4FGL_J0920.3-0443_daily_bin1418> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1418> 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) <bullet0208>, 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 06:57:51 2021
Results reported at Tue Aug 31 06:57:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1418 140.1 -4.7311 606873601 607132801 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 :                                   473.24 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             245.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   687 sec.
    Turnaround time :                            690 sec.

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

