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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin172
RA = 135.175, Dec = -12.7201
tmin = 283910401, tmax = 284169601
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='925526', job_status='RUN', time_executed='2021-08-30 20:24:38.039260', time_epoch_executed='1630380278.04' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='172'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/925526

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/925526/ft1_4FGL_J0900.7-1243_daily_bin172.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/925526/ft2_4FGL_J0900.7-1243_daily_bin172.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/925526/ft1_4FGL_J0900.7-1243_daily_bin172.fits outfile=/scratch/kocevski/925526/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin172.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=283910401.0 tmax=284169601.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 2.69
user 2.48
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/925526/ft2_4FGL_J0900.7-1243_daily_bin172.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/925526/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin172.fits evtable="EVENTS" outfile="/scratch/kocevski/925526/ft1_filtered_4FGL_J0900.7-1243_daily_bin172.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.41
user 0.26
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/925526/ft1_filtered_4FGL_J0900.7-1243_daily_bin172.fits" evtable="EVENTS" scfile=/scratch/kocevski/925526/ft2_4FGL_J0900.7-1243_daily_bin172.fits sctable="SC_DATA" outfile=/scratch/kocevski/925526/ltcube_283910401_284169601_4FGL_J0900.7-1243_daily_bin172.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/925526/ft2_4FGL_J0900.7-1243_daily_bin172.fits
.....................!
real 8.60
user 8.30
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/925526/ft1_filtered_4FGL_J0900.7-1243_daily_bin172.fits evtable="EVENTS" scfile=/scratch/kocevski/925526/ft2_4FGL_J0900.7-1243_daily_bin172.fits sctable="SC_DATA" expcube=/scratch/kocevski/925526/ltcube_283910401_284169601_4FGL_J0900.7-1243_daily_bin172.fits outfile=/scratch/kocevski/925526/expmap_283910401_284169601_4FGL_J0900.7-1243_daily_bin172.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/925526/ltcube_283910401_284169601_4FGL_J0900.7-1243_daily_bin172.fits
.....................!
real 139.96
user 136.63
sys 3.04

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/925526/ft1_filtered_4FGL_J0900.7-1243_daily_bin172.fits scfile=/scratch/kocevski/925526/ft2_4FGL_J0900.7-1243_daily_bin172.fits outfile=/scratch/kocevski/925526/cmap_283910401_284169601_4FGL_J0900.7-1243_daily_bin172.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 0.46
user 0.28
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/925526/ft1_filtered_4FGL_J0900.7-1243_daily_bin172.fits scfile=/scratch/kocevski/925526/ft2_4FGL_J0900.7-1243_daily_bin172.fits outfile=/scratch/kocevski/925526/cmap_HighResolution_283910401_284169601_4FGL_J0900.7-1243_daily_bin172.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 0.44
user 0.29
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/925526/ft1_filtered_4FGL_J0900.7-1243_daily_bin172.fits evtable="EVENTS" scfile=/scratch/kocevski/925526/ft2_4FGL_J0900.7-1243_daily_bin172.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/925526/Model_4FGL_J0900.7-1243_daily_bin172.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/925526/ft1_filtered_4FGL_J0900.7-1243_daily_bin172.fits.....................!
real 61.70
user 58.94
sys 1.87

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/925526/ft1_filtered_4FGL_J0900.7-1243_daily_bin172.fits', '/scratch/kocevski/925526/ft2_4FGL_J0900.7-1243_daily_bin172.fits', expMap='/scratch/kocevski/925526/expmap_283910401_284169601_4FGL_J0900.7-1243_daily_bin172.fits', expCube='/scratch/kocevski/925526/ltcube_283910401_284169601_4FGL_J0900.7-1243_daily_bin172.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/925526/Model_4FGL_J0900.7-1243_daily_bin172.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/925526/ft1_filtered_4FGL_J0900.7-1243_daily_bin172.fits
Spacecraft file(s): /scratch/kocevski/925526/ft2_4FGL_J0900.7-1243_daily_bin172.fits
Exposure map: /scratch/kocevski/925526/expmap_283910401_284169601_4FGL_J0900.7-1243_daily_bin172.fits
Exposure cube: /scratch/kocevski/925526/ltcube_283910401_284169601_4FGL_J0900.7-1243_daily_bin172.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/925526/Model_4FGL_J0900.7-1243_daily_bin172.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) = 7792.32912105

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5621       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.1742       1.0000         .10000E-03   10000.    
     3 'norm      '    36.268       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.402       1.0000         .10000E-03   10000.    
     6 'norm      '    1.0900       1.0000         .10000E-03   10000.    
     7 'norm      '    .62931       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .70492       1.0000         .10000E-03   10000.    
    11 'norm      '    9.1883       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    30.321       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.7028       1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.613       1.0000         .10000E-03   10000.    
    18 'norm      '    5.9834       1.0000         .10000E-03   10000.    
    19 'norm      '    2.9328       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .78877       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .98234       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=   7792.323     FROM MIGRAD    STATUS=CONVERGED    442 CALLS     2214 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5613        11.556        .14962E-05   -.15068E-04
   2  Prefactor     9.1744        5.2413       -.79863E-07   -.60420E-05
   3  norm          36.268        23.037        .38739E-06   -.12297E-04
   4  norm          .10000E-03    2.6323       -.37542E-07** at limit **
   5  Prefactor     12.405        17.752        .90515E-06    .88814E-05
   6  norm          1.0885        4.0045       -.39334E-05   -.77345E-04
   7  norm          .63003        1.2793        .47062E-06    .16364E-02
   8  Prefactor     .10000E-03    4.6924       -.10690E-05** at limit **
   9  Prefactor     .10000E-03    4.2764        .20488E-05** at limit **
  10  Prefactor     .70573        .83456       -.74357E-07   -.11410E-03
  11  norm          9.1884        6.0548        .84743E-07   -.44350E-05
  12  Prefactor     .10000E-03    3.9351       -.10519E-05** at limit **
  13  Prefactor     .10000E-03    44.609       -.35575E-06** at limit **
  14  Prefactor     .10000E-03    7.9081        .13514E-06** at limit **
  15  Prefactor     30.322        29.545        .82707E-06   -.42947E-06
  16  Prefactor     2.7009        33.537       -.31767E-05   -.13402E-05
  17  Prefactor     12.612        10.341        .76233E-06    .84489E-05
  18  norm          5.9842        5.3640        .15128E-06    .27617E-04
  19  norm          2.9329        3.0993       -.24469E-06   -.26371E-05
  20  Normalizat    .78881        .16614       -.13622E-05    .83881E-04
  21  Prefactor     .98230        .97114E-01    .36820E-06   -.17472E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.56127
  Prefactor  = 9.17442
  norm       = 36.2683
  norm       = 0.0001
  Prefactor  = 12.4046
  norm       = 1.08849
  norm       = 0.630026
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.705728
  norm       = 9.18844
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.3219
  Prefactor  = 2.70087
  Prefactor  = 12.6124
  norm       = 5.98421
  norm       = 2.93287
  Normalizat = 0.788809
  Prefactor  = 0.982297
 **********
 **   18 **HESSE 
 **********

 FCN=   7792.323     FROM HESSE     STATUS=OK           331 CALLS     2545 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5613        11.703        .12752E-02   -1.5388    
   2  Prefactor     9.1744        5.2372        .13232E-03   -1.5102    
   3  norm          36.268        22.898        .66547E-04   -1.4503    
   4  norm          .10000E-03    2.6596        .13980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.405        17.745        .11375E-03   -1.5003    
   6  norm          1.0885        3.9745        .32805E-03   -1.5499    
   7  norm          .63003        .99641        .14602E-02   -1.5549    
   8  Prefactor     .10000E-03    4.8469        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.2595        .17747E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .70573        4.6093        .59632E-01   -1.5540    
  11  norm          9.1884        6.0656        .66109E-03   -1.5102    
  12  Prefactor     .10000E-03    3.9294        .17070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    45.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.9108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     30.322        29.647        .72763E-04   -1.4606    
  16  Prefactor     2.7009        33.056        .24778E-03   -1.5379    
  17  Prefactor     12.612        10.327        .11279E-03   -1.4998    
  18  norm          5.9842        5.3282        .16415E-03   -1.5219    
  19  norm          2.9329        3.0922        .15486E-03   -1.5365    
  20  Normalizat    .78881        .19404        .31169E-03   -1.0049    
  21  Prefactor     .98230        .11243        .17045E-03   -.93322    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64301e-09
Minuit parameter uncertainties:
  1  10.9532
  2  5.2375
  3  22.9034
  4  4.01524e-06
  5  17.7523
  6  3.97542
  7  0.996435
  8  1.88676e-05
  9  5.79994e-06
  10  3.60732
  11  6.06601
  12  1.78846e-06
  13  3.33306e-05
  14  1.63034e-06
  15  29.6618
  16  18.9103
  17  10.3289
  18  5.32859
  19  3.0924
  20  0.194213
  21  0.112462
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  5.800e-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:  9.823e-01  1.125e-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:  7.888e-01  1.942e-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.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/925526/likelihoodResults_283910401_284169601_4FGL_J0900.7-1243_daily_bin172.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) = 7792.32411829
delta logL = -0.00111866729367

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7792.32299892
delta logL = 7.02086254023e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2355       1.0000          .0000       10.000    
     3 'Normalizat'    .78877       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98230       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=   7792.323     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      247 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10402E-03    2.4756        .18142E-01** at limit **
   2  Index         2.1419        8.5485        .50000        .63045E-04
   3  Normalizat    .78881        .29722E-02    .31169E-03   -.53398E-04
   4  Prefactor     .98230        .18089E-02    .17045E-03    .91445E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104021
  Index      = 2.14191
  Normalizat = 0.788806
  Prefactor  = 0.982298
 **********
 **   18 **HESSE 
 **********

 FCN=   7792.323     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      276 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10402E-03    34.187        .19719E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1419        8.4384        .50000       -.60848    
   3  Normalizat    .78881        .11001E-01    .12468E-04   -1.0049    
   4  Prefactor     .98230        .66952E-02    .34089E-04   -.93322    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.73226e-08
Minuit parameter uncertainties:
  1  0.0234614
  2  148.338
  3  0.0110005
  4  0.00669521
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/925526': 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) = 7792.32299762
delta logL = 2.00402882911e-06

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.040e-04  2.346e-02  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.142e+00  1.483e+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:  9.823e-01  6.695e-03  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:  7.888e-01  1.100e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/925526/cmap_HighResolution_283910401_284169601_4FGL_J0900.7-1243_daily_bin172.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.88e-03', job_status='DONE', photon_flux_upper_limit='5.06e-08', time_completed='2021-08-30 20:32:55.592540', job_id='925526', GAL2='0.98', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1630380775.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.00e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='172' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:32:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 925526: <4FGL_J0900.7-1243_daily_bin172> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin172> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Aug 30 20:20:31 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:20:33 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:20:33 2021
Terminated at Mon Aug 30 20:32:56 2021
Results reported at Mon Aug 30 20:32:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin172 135.175 -12.7201 283910401 284169601 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 :                                   498.60 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             251.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            745 sec.

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

