/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 26 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 = 7419
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0920.3-0443_daily_bin1164
RA = 140.1, Dec = -4.7311
tmin = 541036801, tmax = 541296001
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='126703', job_status='RUN', time_executed='2021-08-31 06:44:18.698624', time_epoch_executed='1630417458.7' WHERE source_name='4FGL J0920.3-0443' and cadence='daily' and bin_id='1164'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/126703

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/126703/ft1_4FGL_J0920.3-0443_daily_bin1164.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/126703/ft2_4FGL_J0920.3-0443_daily_bin1164.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/126703/ft1_4FGL_J0920.3-0443_daily_bin1164.fits outfile=/scratch/kocevski/126703/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1164.fits ra=140.1 dec=-4.7311 rad=12.0 tmin=541036801.0 tmax=541296001.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 8.84
user 3.38
sys 4.50

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/126703/ft2_4FGL_J0920.3-0443_daily_bin1164.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/126703/ft1_filteredMKT_4FGL_J0920.3-0443_daily_bin1164.fits evtable="EVENTS" outfile="/scratch/kocevski/126703/ft1_filtered_4FGL_J0920.3-0443_daily_bin1164.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 6.29
user 0.35
sys 4.42

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/126703/ft1_filtered_4FGL_J0920.3-0443_daily_bin1164.fits" evtable="EVENTS" scfile=/scratch/kocevski/126703/ft2_4FGL_J0920.3-0443_daily_bin1164.fits sctable="SC_DATA" outfile=/scratch/kocevski/126703/ltcube_541036801_541296001_4FGL_J0920.3-0443_daily_bin1164.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/126703/ft2_4FGL_J0920.3-0443_daily_bin1164.fits
.....................!
real 17.30
user 11.63
sys 5.15

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/126703/ft1_filtered_4FGL_J0920.3-0443_daily_bin1164.fits evtable="EVENTS" scfile=/scratch/kocevski/126703/ft2_4FGL_J0920.3-0443_daily_bin1164.fits sctable="SC_DATA" expcube=/scratch/kocevski/126703/ltcube_541036801_541296001_4FGL_J0920.3-0443_daily_bin1164.fits outfile=/scratch/kocevski/126703/expmap_541036801_541296001_4FGL_J0920.3-0443_daily_bin1164.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/126703/ltcube_541036801_541296001_4FGL_J0920.3-0443_daily_bin1164.fits
.....................!
real 197.90
user 185.25
sys 10.07

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/126703/ft1_filtered_4FGL_J0920.3-0443_daily_bin1164.fits scfile=/scratch/kocevski/126703/ft2_4FGL_J0920.3-0443_daily_bin1164.fits outfile=/scratch/kocevski/126703/cmap_541036801_541296001_4FGL_J0920.3-0443_daily_bin1164.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 4.34
user 0.37
sys 3.91

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/126703/ft1_filtered_4FGL_J0920.3-0443_daily_bin1164.fits scfile=/scratch/kocevski/126703/ft2_4FGL_J0920.3-0443_daily_bin1164.fits outfile=/scratch/kocevski/126703/cmap_HighResolution_541036801_541296001_4FGL_J0920.3-0443_daily_bin1164.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 4.48
user 0.38
sys 3.92

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/126703/ft1_filtered_4FGL_J0920.3-0443_daily_bin1164.fits evtable="EVENTS" scfile=/scratch/kocevski/126703/ft2_4FGL_J0920.3-0443_daily_bin1164.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/126703/Model_4FGL_J0920.3-0443_daily_bin1164.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/126703/ft1_filtered_4FGL_J0920.3-0443_daily_bin1164.fits.....................!
real 76.35
user 69.07
sys 6.86

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.6939       1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.5312       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.6104       1.0000         .10000E-03   10000.    
     7 'norm      '    .62335       1.0000         .10000E-03   10000.    
     8 'norm      '    4.4461       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.1732       1.0000         .10000E-03   10000.    
    11 'Prefactor '    51.451       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.1493       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    11.331       1.0000         .10000E-03   10000.    
    16 'norm      '    5.4580       1.0000         .10000E-03   10000.    
    17 'norm      '    .75513       1.0000         .10000E-03   10000.    
    18 'norm      '    .86065       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .94029       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96228       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=   6962.767     FROM MIGRAD    STATUS=CONVERGED    395 CALLS     1996 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.0063       -.69666E-05** at limit **
   2  Prefactor     .10000E-03    6.2273        .38340E-05** at limit **
   3  norm          2.6933        3.8513        .42024E-06   -.19662E-02
   4  norm          .10000E-03    .54577       -.39026E-07** at limit **
   5  Prefactor     2.5291        5.3733        .46790E-06   -.17411E-02
   6  Prefactor     6.6102        5.9883        .83227E-07   -.63422E-03
   7  norm          .62427        3.3065        .67341E-06   -.27847E-03
   8  norm          4.4469        4.5383        .13500E-06   -.14031E-02
   9  Prefactor     .10000E-03    5.1186       -.10296E-05** at limit **
  10  Prefactor     6.1739        3.9944       -.11934E-05   -.25872E-03
  11  Prefactor     51.458        35.608        .61917E-05    .97140E-04
  12  Prefactor     6.1508        11.296        .27468E-06   -.43543E-03
  13  Prefactor     .10000E-03    10.971        .72168E-05** at limit **
  14  Prefactor     .10000E-03    16.754       -.34604E-05** at limit **
  15  norm          11.327        7.2252        .15615E-06    .14548E-04
  16  norm          5.4578        3.9859        .14851E-06   -.58879E-04
  17  norm          .75523        .53460        .59096E-08   -.23548E-03
  18  norm          .86070        .99501        .62055E-08    .81105E-05
  19  Normalizat    .94012        .17839       -.96365E-06    .41860E-04
  20  Prefactor     .96241        .13097        .34439E-07   -.15755E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.69327
  norm       = 0.0001
  Prefactor  = 2.52906
  Prefactor  = 6.61018
  norm       = 0.624271
  norm       = 4.44685
  Prefactor  = 0.0001
  Prefactor  = 6.17394
  Prefactor  = 51.4577
  Prefactor  = 6.1508
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.3274
  norm       = 5.45783
  norm       = 0.755228
  norm       = 0.860705
  Normalizat = 0.940118
  Prefactor  = 0.962409
 **********
 **   18 **HESSE 
 **********

 FCN=   6962.767     FROM HESSE     STATUS=OK           299 CALLS     2295 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.0592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.2410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.6933        4.1783        .10324E-02   -1.5380    
   4  norm          .10000E-03    .54690        .60196E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5291        7.5804        .12836E-02   -1.5390    
   6  Prefactor     6.6102        6.0294        .78040E-03   -1.5194    
   7  norm          .62427        3.4462        .29060E-03   -1.5550    
   8  norm          4.4469        4.7302        .90384E-03   -1.5286    
   9  Prefactor     .10000E-03    5.1355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.1739        4.0012        .12799E-03   -1.5211    
  11  Prefactor     51.458        35.685        .55912E-04   -1.4272    
  12  Prefactor     6.1508        11.520        .80948E-03   -1.5212    
  13  Prefactor     .10000E-03    10.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          11.327        7.2325        .11902E-03   -1.5035    
  16  norm          5.4578        3.9842        .13631E-03   -1.5241    
  17  norm          .75523        .51482        .48755E-03   -1.5534    
  18  norm          .86070        .98031        .86836E-04   -1.5522    
  19  Normalizat    .94012        .20842        .27145E-03   -.95064    
  20  Prefactor     .96241        .15420        .20432E-03   -.93993    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10246e-08
Minuit parameter uncertainties:
  1  4.13748e-05
  2  3.67937e-05
  3  4.17879
  4  8.0081e-08
  5  7.58326
  6  6.03
  7  2.93352
  8  4.73062
  9  3.34288e-05
  10  4.00134
  11  35.6993
  12  11.5242
  13  8.352e-05
  14  5.42779e-05
  15  7.23305
  16  3.98441
  17  0.514818
  18  0.980327
  19  0.208595
  20  0.154273
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  9.624e-01  1.543e-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:  9.401e-01  2.086e-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: 5.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/126703/likelihoodResults_541036801_541296001_4FGL_J0920.3-0443_daily_bin1164.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) = 6962.76748893
delta logL = -0.000927132618017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6962.76656167
delta logL = 1.22245182865e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6962.767     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      250 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.778        .18142E-01** at limit **
   2  Index         1.9236        8.0284        .50000        .27569E-06
   3  Normalizat    .94012        .74217E-02    .27145E-03   -.10496E-03
   4  Prefactor     .96241        .56762E-02    .20432E-03   -.12971E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.92362
  Normalizat = 0.940117
  Prefactor  = 0.962409
 **********
 **   18 **HESSE 
 **********

 FCN=   6962.767     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      279 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    215.18        .21153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9236        5.2130        .50000       -.66274    
   3  Normalizat    .94012        .25341E-01    .10858E-04   -.95064    
   4  Prefactor     .96241        .19381E-01    .40863E-04   -.93993    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.28094e-09
Minuit parameter uncertainties:
  1  5.93652e-06
  2  941.537
  3  0.0253413
  4  0.0193814
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/126703': 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) = 6962.76655947
delta logL = 2.32339607464e-06

Extracting fit parameters...

4FGL J0920.3-0443
   Spectrum: PowerLaw
250    Prefactor:  1.000e-04  5.937e-06  1.000e-04  1.000e+04 ( 1.000e-13)
251        Index:  1.924e+00  9.415e+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:  9.624e-01  1.938e-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:  9.401e-01  2.534e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/126703/cmap_HighResolution_541036801_541296001_4FGL_J0920.3-0443_daily_bin1164.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-03', job_status='DONE', photon_flux_upper_limit='5.74e-08', time_completed='2021-08-31 06:55:30.820076', job_id='126703', GAL2='0.96', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1630418130.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='2.32e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.59' WHERE bin_id='1164' AND source_name='4FGL J0920.3-0443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:55:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 126703: <4FGL_J0920.3-0443_daily_bin1164> in cluster <slac> Done

Job <4FGL_J0920.3-0443_daily_bin1164> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 06:42:03 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 06:42:04 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:42:04 2021
Terminated at Tue Aug 31 06:55:32 2021
Results reported at Tue Aug 31 06:55:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0920.3-0443_daily_bin1164 140.1 -4.7311 541036801 541296001 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 :                                   707.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             291.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            809 sec.

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

