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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin749
RA = 135.175, Dec = -12.7201
tmin = 433468801, tmax = 433728001
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='930134', job_status='RUN', time_executed='2021-08-30 20:37:44.404267', time_epoch_executed='1630381064.4' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/930134

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/930134/ft1_4FGL_J0900.7-1243_daily_bin749.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/930134/ft2_4FGL_J0900.7-1243_daily_bin749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/930134/ft1_4FGL_J0900.7-1243_daily_bin749.fits outfile=/scratch/kocevski/930134/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin749.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=433468801.0 tmax=433728001.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.96
user 5.70
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/930134/ft2_4FGL_J0900.7-1243_daily_bin749.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/930134/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin749.fits evtable="EVENTS" outfile="/scratch/kocevski/930134/ft1_filtered_4FGL_J0900.7-1243_daily_bin749.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.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/930134/ft1_filtered_4FGL_J0900.7-1243_daily_bin749.fits" evtable="EVENTS" scfile=/scratch/kocevski/930134/ft2_4FGL_J0900.7-1243_daily_bin749.fits sctable="SC_DATA" outfile=/scratch/kocevski/930134/ltcube_433468801_433728001_4FGL_J0900.7-1243_daily_bin749.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/930134/ft2_4FGL_J0900.7-1243_daily_bin749.fits
.....................!
real 11.93
user 11.55
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/930134/ft1_filtered_4FGL_J0900.7-1243_daily_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/930134/ft2_4FGL_J0900.7-1243_daily_bin749.fits sctable="SC_DATA" expcube=/scratch/kocevski/930134/ltcube_433468801_433728001_4FGL_J0900.7-1243_daily_bin749.fits outfile=/scratch/kocevski/930134/expmap_433468801_433728001_4FGL_J0900.7-1243_daily_bin749.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/930134/ltcube_433468801_433728001_4FGL_J0900.7-1243_daily_bin749.fits
.....................!
real 190.31
user 185.39
sys 4.56

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/930134/ft1_filtered_4FGL_J0900.7-1243_daily_bin749.fits scfile=/scratch/kocevski/930134/ft2_4FGL_J0900.7-1243_daily_bin749.fits outfile=/scratch/kocevski/930134/cmap_433468801_433728001_4FGL_J0900.7-1243_daily_bin749.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/930134/ft1_filtered_4FGL_J0900.7-1243_daily_bin749.fits scfile=/scratch/kocevski/930134/ft2_4FGL_J0900.7-1243_daily_bin749.fits outfile=/scratch/kocevski/930134/cmap_HighResolution_433468801_433728001_4FGL_J0900.7-1243_daily_bin749.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.54
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/930134/ft1_filtered_4FGL_J0900.7-1243_daily_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/930134/ft2_4FGL_J0900.7-1243_daily_bin749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/930134/Model_4FGL_J0900.7-1243_daily_bin749.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/930134/ft1_filtered_4FGL_J0900.7-1243_daily_bin749.fits.....................!
real 57.61
user 56.20
sys 1.05

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.448       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10231E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .54914       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.558       1.0000         .10000E-03   10000.    
     6 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.0369       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.8085       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.7749       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.520       1.0000         .10000E-03   10000.    
    11 'norm      '    .10095E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10541E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    40.893       1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.114       1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.662       1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.105       1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.587       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.5129       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .61527       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1627       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=   4953.137     FROM MIGRAD    STATUS=CONVERGED    431 CALLS     2190 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.449        14.347       -.65067E-06    .97307E-04
   2  Prefactor     .10000E-03    8.3015       -.14926E-05** at limit **
   3  norm          .10000E-03    9.0393        .39825E-07** at limit **
   4  norm          .60396        44.970       -.24942E-04    .46584E-04
   5  Prefactor     14.556        24.619       -.50624E-06    .60355E-04
   6  norm          .10000E-03    2.3208       -.14556E-07** at limit **
   7  norm          1.0364        3.5484       -.33084E-05    .38997E-03
   8  Prefactor     9.8098        8.8578        .18300E-07    .11173E-03
   9  Prefactor     8.7774        15.312        .16427E-05    .27871E-03
  10  Prefactor     13.520        12.490        .20793E-07    .24622E-03
  11  norm          .10000E-03    10.118       -.92468E-06** at limit **
  12  Prefactor     .10000E-03    33.943       -.40142E-06** at limit **
  13  Prefactor     40.815        62.550        .18307E-05    .95245E-04
  14  Prefactor     25.101        32.056        .25956E-06    .24660E-04
  15  Prefactor     18.662        41.117       -.19310E-05    .92395E-05
  16  Prefactor     26.113        34.981       -.94002E-06    .91163E-05
  17  Prefactor     15.593        22.897       -.14083E-05   -.20529E-04
  18  norm          .10000E-03    5.5177       -.78376E-06** at limit **
  19  norm          5.5133        6.5366       -.64807E-06    .15133E-03
  20  Normalizat    .61537        .26070        .40565E-05    .29088E-03
  21  Prefactor     1.1625        .15051        .14993E-05    .62597E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.4491
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.603965
  Prefactor  = 14.5562
  norm       = 0.0001
  norm       = 1.03639
  Prefactor  = 9.80978
  Prefactor  = 8.77743
  Prefactor  = 13.5196
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 40.8149
  Prefactor  = 25.1009
  Prefactor  = 18.6622
  Prefactor  = 26.1129
  Prefactor  = 15.5932
  norm       = 0.0001
  norm       = 5.5133
  Normalizat = 0.615366
  Prefactor  = 1.16255
 **********
 **   18 **HESSE 
 **********

 FCN=   4953.137     FROM HESSE     STATUS=OK           321 CALLS     2511 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.449        14.346        .10538E-03   -1.4948    
   2  Prefactor     .10000E-03    8.5781        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    9.0419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .60396        45.889        .31925E-02   -1.5553    
   5  Prefactor     14.556        24.600        .10498E-03   -1.4945    
   6  norm          .10000E-03    2.3213        .10470E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.0364        3.5393        .22636E-03   -1.5504    
   8  Prefactor     9.8098        8.8795        .12795E-03   -1.5081    
   9  Prefactor     8.7774        15.226        .13531E-03   -1.5115    
  10  Prefactor     13.520        12.461        .10893E-03   -1.4972    
  11  norm          .10000E-03    10.540        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    34.411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     40.815        62.814        .62684E-04   -1.4429    
  14  Prefactor     25.101        32.044        .79934E-04   -1.4706    
  15  Prefactor     18.662        41.105        .92714E-04   -1.4844    
  16  Prefactor     26.113        34.960        .78405E-04   -1.4686    
  17  Prefactor     15.593        22.892        .10145E-03   -1.4918    
  18  norm          .10000E-03    5.5290        .16129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.5133        6.5307        .17112E-03   -1.5238    
  20  Normalizat    .61537        .28541        .39211E-03   -1.0734    
  21  Prefactor     1.1625        .16827        .17435E-03   -.87492    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.44298e-10
Minuit parameter uncertainties:
  1  14.3498
  2  8.21413e-05
  3  4.14965e-05
  4  10.5366
  5  24.6175
  6  9.36487e-06
  7  3.54004
  8  8.88071
  9  15.2329
  10  12.4634
  11  1.2747e-05
  12  0.000298417
  13  62.916
  14  32.066
  15  41.1672
  16  34.9871
  17  22.905
  18  5.44913e-05
  19  6.53155
  20  0.286094
  21  0.168347
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  8.777e+00  1.523e+01  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.163e+00  1.683e-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.154e-01  2.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.46
Ra Dec: 135.175 -12.720
Photon Flux Upper Limit: 1.35e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/930134/likelihoodResults_433468801_433728001_4FGL_J0900.7-1243_daily_bin749.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4952.63450416
delta logL = 0.502966063853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4952.57441807
delta logL = 0.563052144777

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.844       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5049       1.0000          .0000       10.000    
     3 'Normalizat'    .63186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1554       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.

 FCN=   4952.574     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      223 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.820        23.289        .25989E-02    .12673E-03
   2  Index         1.5058        .67094        .25719       -.74760E-04
   3  Normalizat    .63204        .24431        .87360E-01    .76346E-04
   4  Prefactor     1.1554        .14583        .35781E-01   -.47129E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.8203
  Index      = 1.50576
  Normalizat = 0.632041
  Prefactor  = 1.15538
 **********
 **   18 **HESSE 
 **********

 FCN=   4952.574     FROM HESSE     STATUS=OK            31 CALLS      254 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.820        18.938        .10396E-03   -1.4938    
   2  Index         1.5058        .65337        .94554E-02   -.77379    
   3  Normalizat    .63204        .26959        .38700E-03   -1.0664    
   4  Prefactor     1.1554        .16203        .17470E-03   -.87716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34418e-10
Minuit parameter uncertainties:
  1  18.9456
  2  0.657064
  3  0.270155
  4  0.162097
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/930134': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4952.57441476
delta logL = 0.563055457358

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.482e+01  1.895e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  1.506e+00  6.571e-01  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.155e+00  1.621e-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.320e-01  2.702e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.59
Ra Dec: 135.175 -12.720
Photon Index (Free Index): 1.51 +/- 0.66
Photon Flux (Free Index): 1.45e-08 +/- 2.32e-08
Energy Flux (Free Index): 4.50e-05 +/- 7.18e-05

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/930134/cmap_HighResolution_433468801_433728001_4FGL_J0900.7-1243_daily_bin749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', comment='SUCCESS', energy_flux2='4.50e-05', dlogl='5.63e-01', photon_flux2='1.45e-08', job_status='DONE', time_completed='2021-08-30 20:46:47.370612', photon_index_error2='0.66', photon_index2='1.51', ts='0.46', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='1.35e-07', energy_flux_error2='7.18e-05', EG='0.62', time_epoch_completed='1630381607.37', return_code='0', job_id='930134', GAL2='1.16', EG2='0.63', return_code2='0', photon_flux_error2='2.32e-08', ts2='1.59', photon_index='2.28' WHERE bin_id='749' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:46:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0131>
Subject: Job 930134: <4FGL_J0900.7-1243_daily_bin749> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin749> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug 30 20:35:36 2021
Job was executed on host(s) <bullet0131>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:35:37 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:35:37 2021
Terminated at Mon Aug 30 20:46:48 2021
Results reported at Mon Aug 30 20:46:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin749 135.175 -12.7201 433468801 433728001 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 :                                   539.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   670 sec.
    Turnaround time :                            672 sec.

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

