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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin1336
RA = 135.175, Dec = -12.7201
tmin = 585619201, tmax = 585878401
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='934916', job_status='RUN', time_executed='2021-08-30 20:52:40.598240', time_epoch_executed='1630381960.6' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='1336'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/934916

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/934916/ft1_4FGL_J0900.7-1243_daily_bin1336.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/934916/ft2_4FGL_J0900.7-1243_daily_bin1336.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/934916/ft1_4FGL_J0900.7-1243_daily_bin1336.fits outfile=/scratch/kocevski/934916/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1336.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=585619201.0 tmax=585878401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 6.43
user 2.46
sys 3.93

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/934916/ft2_4FGL_J0900.7-1243_daily_bin1336.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/934916/ft2_4FGL_J0900.7-1243_daily_bin1336.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/934916/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin1336.fits evtable="EVENTS" outfile="/scratch/kocevski/934916/ft1_filtered_4FGL_J0900.7-1243_daily_bin1336.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 4.25
user 0.34
sys 3.85

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/934916/ft1_filtered_4FGL_J0900.7-1243_daily_bin1336.fits" evtable="EVENTS" scfile=/scratch/kocevski/934916/ft2_4FGL_J0900.7-1243_daily_bin1336.fits sctable="SC_DATA" outfile=/scratch/kocevski/934916/ltcube_585619201_585878401_4FGL_J0900.7-1243_daily_bin1336.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/934916/ft2_4FGL_J0900.7-1243_daily_bin1336.fits
.....................!
real 16.54
user 11.89
sys 4.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/934916/ft1_filtered_4FGL_J0900.7-1243_daily_bin1336.fits evtable="EVENTS" scfile=/scratch/kocevski/934916/ft2_4FGL_J0900.7-1243_daily_bin1336.fits sctable="SC_DATA" expcube=/scratch/kocevski/934916/ltcube_585619201_585878401_4FGL_J0900.7-1243_daily_bin1336.fits outfile=/scratch/kocevski/934916/expmap_585619201_585878401_4FGL_J0900.7-1243_daily_bin1336.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/934916/ltcube_585619201_585878401_4FGL_J0900.7-1243_daily_bin1336.fits
.....................!
real 195.78
user 186.20
sys 9.18

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 162 point sources and 0 extended sources

Setting source of interest to:
4FGL J0900.7-1243 @ 135.175 -12.7201

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/934916/ft1_filtered_4FGL_J0900.7-1243_daily_bin1336.fits scfile=/scratch/kocevski/934916/ft2_4FGL_J0900.7-1243_daily_bin1336.fits outfile=/scratch/kocevski/934916/cmap_585619201_585878401_4FGL_J0900.7-1243_daily_bin1336.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=135.175 yref=-12.7201 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.30
user 0.37
sys 3.77

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/934916/ft1_filtered_4FGL_J0900.7-1243_daily_bin1336.fits scfile=/scratch/kocevski/934916/ft2_4FGL_J0900.7-1243_daily_bin1336.fits outfile=/scratch/kocevski/934916/cmap_HighResolution_585619201_585878401_4FGL_J0900.7-1243_daily_bin1336.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=135.175 yref=-12.7201 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.39
user 0.37
sys 3.79

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/934916/ft1_filtered_4FGL_J0900.7-1243_daily_bin1336.fits evtable="EVENTS" scfile=/scratch/kocevski/934916/ft2_4FGL_J0900.7-1243_daily_bin1336.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/934916/Model_4FGL_J0900.7-1243_daily_bin1336.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/934916/ft1_filtered_4FGL_J0900.7-1243_daily_bin1336.fits.....................!
real 80.15
user 72.94
sys 5.94

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/934916/ft1_filtered_4FGL_J0900.7-1243_daily_bin1336.fits', '/scratch/kocevski/934916/ft2_4FGL_J0900.7-1243_daily_bin1336.fits', expMap='/scratch/kocevski/934916/expmap_585619201_585878401_4FGL_J0900.7-1243_daily_bin1336.fits', expCube='/scratch/kocevski/934916/ltcube_585619201_585878401_4FGL_J0900.7-1243_daily_bin1336.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/934916/Model_4FGL_J0900.7-1243_daily_bin1336.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0900.7-1243'

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  2.164e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.278e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  1.364e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/934916/ft1_filtered_4FGL_J0900.7-1243_daily_bin1336.fits
Spacecraft file(s): /scratch/kocevski/934916/ft2_4FGL_J0900.7-1243_daily_bin1336.fits
Exposure map: /scratch/kocevski/934916/expmap_585619201_585878401_4FGL_J0900.7-1243_daily_bin1336.fits
Exposure cube: /scratch/kocevski/934916/ltcube_585619201_585878401_4FGL_J0900.7-1243_daily_bin1336.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/934916/Model_4FGL_J0900.7-1243_daily_bin1336.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) = 6941.72327745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2789       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.6339       1.0000         .10000E-03   10000.    
     5 'Prefactor '    72.308       1.0000         .10000E-03   10000.    
     6 'norm      '    22.357       1.0000         .10000E-03   10000.    
     7 'norm      '    2.1977       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.9391       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    10.107       1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.482       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.639       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.2626       1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.654       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .60565       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6941.715     FROM MIGRAD    STATUS=CONVERGED    422 CALLS     2210 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2788        8.6015        .19638E-06    .34853E-04
   2  Prefactor     .10000E-03    3.1207        .16091E-06** at limit **
   3  norm          .10000E-03    10.965       -.34806E-05** at limit **
   4  norm          2.6336        6.9563       -.22437E-06   -.47335E-03
   5  Prefactor     72.304        43.156       -.43746E-05   -.75743E-05
   6  norm          22.358        11.866        .68783E-06   -.27322E-04
   7  norm          2.1977        2.1409        .11088E-06    .24578E-03
   8  Prefactor     8.9386        6.6932        .29490E-06   -.16977E-03
   9  Prefactor     .10000E-03    3.8141        .42600E-07** at limit **
  10  Prefactor     .10000E-03    6.7192        .41718E-06** at limit **
  11  norm          10.107        11.499       -.72334E-06   -.11844E-03
  12  Prefactor     45.479        30.945       -.54939E-05   -.16908E-03
  13  Prefactor     11.638        33.819       -.13281E-05   -.19743E-04
  14  Prefactor     6.2965        59.864        .11612E-03    .13169E-04
  15  Prefactor     21.652        24.624       -.22372E-05   -.32665E-04
  16  Prefactor     .10000E-03    14.530       -.62107E-07** at limit **
  17  Prefactor     .10000E-03    12.302        .39140E-05** at limit **
  18  norm          .10000E-03    1.3296       -.96095E-08** at limit **
  19  norm          .10000E-03    1.4597       -.58616E-08** at limit **
  20  Normalizat    .60558        .23545       -.25115E-05   -.15184E-03
  21  Prefactor     1.1467        .12196       -.22449E-06   -.14740E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.27885
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.63364
  Prefactor  = 72.3043
  norm       = 22.358
  norm       = 2.19773
  Prefactor  = 8.93864
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.1067
  Prefactor  = 45.479
  Prefactor  = 11.6384
  Prefactor  = 6.2965
  Prefactor  = 21.6523
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.605578
  Prefactor  = 1.14668
 **********
 **   18 **HESSE 
 **********

 FCN=   6941.715     FROM HESSE     STATUS=OK           315 CALLS     2525 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2788        8.6018        .13933E-03   -1.5132    
   2  Prefactor     .10000E-03    3.1672        .14371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    10.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.6336        6.9207        .25125E-03   -1.5383    
   5  Prefactor     72.304        43.194        .47212E-04   -1.4005    
   6  norm          22.358        11.846        .84712E-04   -1.4762    
   7  norm          2.1977        2.1501        .11616E-03   -1.5411    
   8  Prefactor     8.9386        6.6905        .13406E-03   -1.5110    
   9  Prefactor     .10000E-03    3.8185        .15890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.7655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          10.107        11.488        .12604E-03   -1.5072    
  12  Prefactor     45.479        30.988        .59451E-04   -1.4358    
  13  Prefactor     11.638        33.803        .11742E-03   -1.5026    
  14  Prefactor     6.2965        59.450        .16041E-03   -1.5206    
  15  Prefactor     21.652        24.650        .86076E-04   -1.4777    
  16  Prefactor     .10000E-03    14.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.3307        .93815E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.4711        .98296E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .60558        .25602        .40714E-03   -1.0775    
  21  Prefactor     1.1467        .13519        .17188E-03   -.87988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.16354e-10
Minuit parameter uncertainties:
  1  8.60311
  2  6.1932e-06
  3  9.1804e-06
  4  6.92282
  5  43.213
  6  11.8474
  7  2.15013
  8  6.69103
  9  3.47979e-06
  10  1.50125e-05
  11  11.4902
  12  30.999
  13  33.859
  14  38.7454
  15  24.6615
  16  1.80805e-05
  17  2.81703e-05
  18  1.38333e-06
  19  4.12693e-06
  20  0.256519
  21  0.135229
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  3.480e-06  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.278e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  1.364e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  1.147e+00  1.352e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  6.056e-01  2.565e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 135.175 -12.720
Photon Flux Upper Limit: 5.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/934916/likelihoodResults_585619201_585878401_4FGL_J0900.7-1243_daily_bin1336.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) = 6941.71622923
delta logL = -0.00124065763157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6941.71498841
delta logL = 1.56018359121e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2531       1.0000          .0000       10.000    
     3 'Normalizat'    .60552       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1467       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+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=   6941.715     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      243 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10387E-03    3.4807        .16300E-01** at limit **
   2  Index         2.1450        6.0120        .50000        .43673E-04
   3  Normalizat    .60558        .47318E-02    .40714E-03   -.18709E-04
   4  Prefactor     1.1467        .26990E-02    .17188E-03   -.31220E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103871
  Index      = 2.14497
  Normalizat = 0.60558
  Prefactor  = 1.14668
 **********
 **   18 **HESSE 
 **********

 FCN=   6941.715     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10387E-03    56.537        .16928E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1450        8.4482        .50000       -.60773    
   3  Normalizat    .60558        .19291E-01    .16286E-04   -1.0775    
   4  Prefactor     1.1467        .11004E-01    .68751E-05   -.87988    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.54831e-08
Minuit parameter uncertainties:
  1  0.0296143
  2  323.754
  3  0.0192913
  4  0.0110036
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/934916': 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) = 6941.71498743
delta logL = 1.14200156531e-06

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.039e-04  2.961e-02  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.145e+00  3.238e+02  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  1.364e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  1.147e+00  1.100e-02  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  6.056e-01  1.929e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 135.175 -12.720

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/934916/cmap_HighResolution_585619201_585878401_4FGL_J0900.7-1243_daily_bin1336.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.48e-03', job_status='DONE', photon_flux_upper_limit='5.84e-08', time_completed='2021-08-30 21:04:18.471272', job_id='934916', GAL2='1.15', fit_tolerance='1e-08', EG2='0.61', EG='0.61', time_epoch_completed='1630382658.47', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='1.14e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1336' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 21:04:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 934916: <4FGL_J0900.7-1243_daily_bin1336> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin1336> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Aug 30 20:50:29 2021
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:50:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 20:50:31 2021
Terminated at Mon Aug 30 21:04:19 2021
Results reported at Mon Aug 30 21:04:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin1336 135.175 -12.7201 585619201 585878401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0900.7-1243 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   730.00 sec.
    Max Memory :                                 1039 MB
    Average Memory :                             267.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   828 sec.
    Turnaround time :                            830 sec.

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

