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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin983
RA = 135.175, Dec = -12.7201
tmin = 494121601, tmax = 494380801
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='931685', job_status='RUN', time_executed='2021-08-30 20:44:08.082301', time_epoch_executed='1630381448.08' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='983'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/931685

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/931685/ft1_4FGL_J0900.7-1243_daily_bin983.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/931685/ft2_4FGL_J0900.7-1243_daily_bin983.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/931685/ft1_4FGL_J0900.7-1243_daily_bin983.fits outfile=/scratch/kocevski/931685/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin983.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=494121601.0 tmax=494380801.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 4.64
user 3.47
sys 1.14

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/931685/ft2_4FGL_J0900.7-1243_daily_bin983.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/931685/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin983.fits evtable="EVENTS" outfile="/scratch/kocevski/931685/ft1_filtered_4FGL_J0900.7-1243_daily_bin983.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 1.35
user 0.32
sys 1.02

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/931685/ft1_filtered_4FGL_J0900.7-1243_daily_bin983.fits" evtable="EVENTS" scfile=/scratch/kocevski/931685/ft2_4FGL_J0900.7-1243_daily_bin983.fits sctable="SC_DATA" outfile=/scratch/kocevski/931685/ltcube_494121601_494380801_4FGL_J0900.7-1243_daily_bin983.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/931685/ft2_4FGL_J0900.7-1243_daily_bin983.fits
.....................!
real 13.36
user 11.89
sys 1.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/931685/ft1_filtered_4FGL_J0900.7-1243_daily_bin983.fits evtable="EVENTS" scfile=/scratch/kocevski/931685/ft2_4FGL_J0900.7-1243_daily_bin983.fits sctable="SC_DATA" expcube=/scratch/kocevski/931685/ltcube_494121601_494380801_4FGL_J0900.7-1243_daily_bin983.fits outfile=/scratch/kocevski/931685/expmap_494121601_494380801_4FGL_J0900.7-1243_daily_bin983.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/931685/ltcube_494121601_494380801_4FGL_J0900.7-1243_daily_bin983.fits
.....................!
real 191.86
user 185.84
sys 5.62

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/931685/ft1_filtered_4FGL_J0900.7-1243_daily_bin983.fits scfile=/scratch/kocevski/931685/ft2_4FGL_J0900.7-1243_daily_bin983.fits outfile=/scratch/kocevski/931685/cmap_494121601_494380801_4FGL_J0900.7-1243_daily_bin983.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 1.42
user 0.38
sys 0.99

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/931685/ft1_filtered_4FGL_J0900.7-1243_daily_bin983.fits scfile=/scratch/kocevski/931685/ft2_4FGL_J0900.7-1243_daily_bin983.fits outfile=/scratch/kocevski/931685/cmap_HighResolution_494121601_494380801_4FGL_J0900.7-1243_daily_bin983.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 1.43
user 0.39
sys 0.98

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/931685/ft1_filtered_4FGL_J0900.7-1243_daily_bin983.fits evtable="EVENTS" scfile=/scratch/kocevski/931685/ft2_4FGL_J0900.7-1243_daily_bin983.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/931685/Model_4FGL_J0900.7-1243_daily_bin983.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/931685/ft1_filtered_4FGL_J0900.7-1243_daily_bin983.fits.....................!
real 66.66
user 63.96
sys 2.48

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3710       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.2948       1.0000         .10000E-03   10000.    
     3 'norm      '    4.3581       1.0000         .10000E-03   10000.    
     4 'norm      '    1.0075       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .59471E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    1.0962       1.0000         .10000E-03   10000.    
     7 'norm      '    .80546       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.5544       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.983       1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.721       1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.840       1.0000         .10000E-03   10000.    
    14 'Prefactor '    62.900       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.7869       1.0000         .10000E-03   10000.    
    18 'norm      '    .10174E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0289       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0136       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=   5788.318     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2297 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3726        13.846       -.21740E-06    .31902E-04
   2  Prefactor     2.2948        2.4157       -.12728E-07    .25435E-04
   3  norm          4.3539        31.729       -.51466E-05   -.29322E-05
   4  norm          1.0087        4.6014       -.66748E-06    .77385E-04
   5  Prefactor     .10157E-03    15.188       -.16432E-05** at limit **
   6  norm          1.0971        1.8959        .64478E-06   -.14200E-02
   7  norm          .80520        2.2648       -.89810E-06   -.59147E-03
   8  Prefactor     1.5545        4.4534       -.33449E-06   -.29134E-04
   9  Prefactor     .10000E-03    10.089       -.28617E-06** at limit **
  10  Prefactor     13.983        9.9454       -.96711E-06    .43453E-04
  11  norm          .10000E-03    3.1837       -.28363E-06** at limit **
  12  Prefactor     11.711        30.536        .37580E-05   -.28730E-05
  13  Prefactor     16.827        37.491       -.30396E-05    .25710E-04
  14  Prefactor     62.888        69.320       -.68706E-05   -.24636E-04
  15  Prefactor     .10000E-03    191.05        .50732E-04** at limit **
  16  Prefactor     .10000E-03    22.982       -.79322E-06** at limit **
  17  Prefactor     3.7769        24.292       -.34177E-04   -.20598E-04
  18  norm          .10000E-03    12.683        .16807E-05** at limit **
  19  norm          .10000E-03    2.5042       -.85220E-07** at limit **
  20  Normalizat    1.0289        .23033        .28656E-05   -.27494E-04
  21  Prefactor     1.0136        .12707        .16611E-06    .12028E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.37262
  Prefactor  = 2.29479
  norm       = 4.35387
  norm       = 1.00865
  Prefactor  = 0.000101569
  norm       = 1.09713
  norm       = 0.805198
  Prefactor  = 1.55448
  Prefactor  = 0.0001
  Prefactor  = 13.9831
  norm       = 0.0001
  Prefactor  = 11.711
  Prefactor  = 16.8269
  Prefactor  = 62.888
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 3.77689
  norm       = 0.000100001
  norm       = 0.0001
  Normalizat = 1.02893
  Prefactor  = 1.01357
 **********
 **   18 **HESSE 
 **********

 FCN=   5788.318     FROM HESSE     STATUS=OK           333 CALLS     2630 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3726        13.678        .13856E-03   -1.5129    
   2  Prefactor     2.2948        2.4237        .11837E-03   -1.5405    
   3  norm          4.3539        31.089        .19294E-03   -1.5291    
   4  norm          1.0087        15.660        .30449E-02   -1.5507    
   5  Prefactor     .10157E-03    14.146        .99654E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.0971        14.284        .22756E-02   -1.5498    
   7  norm          .80520        1.9371        .18466E-02   -1.5529    
   8  Prefactor     1.5545        4.4125        .25984E-03   -1.5459    
   9  Prefactor     .10000E-03    10.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.983        9.9185        .10711E-03   -1.4960    
  11  norm          .10000E-03    3.2130        .13256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.711        30.504        .11701E-03   -1.5023    
  13  Prefactor     16.827        37.489        .97600E-04   -1.4887    
  14  Prefactor     62.888        69.176        .50596E-04   -1.4120    
  15  Prefactor     .10000E-03    192.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    22.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.7769        24.391        .20744E-03   -1.5319    
  18  norm          .10000E-03    12.972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.5206        .11756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0289        .26998        .31996E-03   -.92067    
  21  Prefactor     1.0136        .14909        .18523E-03   -.92279    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13819e-08
Minuit parameter uncertainties:
  1  13.6832
  2  2.42383
  3  23.2854
  4  7.9509
  5  0.00942579
  6  7.91941
  7  1.93723
  8  4.41338
  9  2.81741e-06
  10  9.91971
  11  6.07416e-06
  12  30.5443
  13  37.5414
  14  69.2651
  15  0.000938486
  16  0.000141792
  17  19.2071
  18  0.000161577
  19  5.57279e-06
  20  0.270341
  21  0.149152
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  2.817e-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.014e+00  1.492e-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:  1.029e+00  2.703e-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: 9.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/931685/likelihoodResults_494121601_494380801_4FGL_J0900.7-1243_daily_bin983.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) = 5788.31876165
delta logL = -0.00047037396962

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5788.31829134
delta logL = -6.26987457508e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2785       1.0000          .0000       10.000    
     3 'Normalizat'    1.0289       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0136       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=   5788.318     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      210 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1040.1        .90712E-02** at limit **
   2  Index         2.2787        8.8563        .50000       -.24361E-06
   3  Normalizat    1.0289        .69887E-01    .72308E-01    .16066E-04
   4  Prefactor     1.0136        .40344E-01    .42845E-01    .34371E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.27866
  Normalizat = 1.02894
  Prefactor  = 1.01356
 **********
 **   18 **HESSE 
 **********

 FCN=   5788.318     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      243 TOTAL
                     EDM=   .82E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1467.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2787        5.4232        .50000       -.57552    
   3  Normalizat    1.0289        .92981E-01    .31995E-03   -.92067    
   4  Prefactor     1.0136        .53832E-01    .18523E-03   -.92279    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.20244e-12
Minuit parameter uncertainties:
  1  0.000119031
  2  51.9087
  3  0.0929956
  4  0.0538345
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/931685': 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) = 5788.31829127
delta logL = 4.72937244922e-11

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  1.190e-04  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.279e+00  5.191e+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.014e+00  5.383e-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:  1.029e+00  9.300e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/931685/cmap_HighResolution_494121601_494380801_4FGL_J0900.7-1243_daily_bin983.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.32e-03', job_status='DONE', photon_flux_upper_limit='9.56e-08', time_completed='2021-08-30 20:54:02.563741', job_id='931685', GAL2='1.01', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1630382042.56', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='4.73e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='983' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:54:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0044>
Subject: Job 931685: <4FGL_J0900.7-1243_daily_bin983> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin983> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Aug 30 20:40:53 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:40:55 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:40:55 2021
Terminated at Mon Aug 30 20:54:03 2021
Results reported at Mon Aug 30 20:54:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin983 135.175 -12.7201 494121601 494380801 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 :                                   606.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             243.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   787 sec.
    Turnaround time :                            790 sec.

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

