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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin1009
RA = 135.175, Dec = -12.7201
tmin = 500860801, tmax = 501120001
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='931723', job_status='RUN', time_executed='2021-08-30 20:43:38.390946', time_epoch_executed='1630381418.39' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='1009'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/931723

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/931723/ft1_4FGL_J0900.7-1243_daily_bin1009.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/931723/ft2_4FGL_J0900.7-1243_daily_bin1009.fits


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

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

Done.
real 8.21
user 4.27
sys 3.89

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/931723/ft1_filtered_4FGL_J0900.7-1243_daily_bin1009.fits" evtable="EVENTS" scfile=/scratch/kocevski/931723/ft2_4FGL_J0900.7-1243_daily_bin1009.fits sctable="SC_DATA" outfile=/scratch/kocevski/931723/ltcube_500860801_501120001_4FGL_J0900.7-1243_daily_bin1009.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/931723/ft2_4FGL_J0900.7-1243_daily_bin1009.fits
.....................!
real 16.21
user 11.83
sys 4.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/931723/ft1_filtered_4FGL_J0900.7-1243_daily_bin1009.fits evtable="EVENTS" scfile=/scratch/kocevski/931723/ft2_4FGL_J0900.7-1243_daily_bin1009.fits sctable="SC_DATA" expcube=/scratch/kocevski/931723/ltcube_500860801_501120001_4FGL_J0900.7-1243_daily_bin1009.fits outfile=/scratch/kocevski/931723/expmap_500860801_501120001_4FGL_J0900.7-1243_daily_bin1009.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/931723/ltcube_500860801_501120001_4FGL_J0900.7-1243_daily_bin1009.fits
.....................!
real 194.59
user 184.96
sys 9.15

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/931723/ft1_filtered_4FGL_J0900.7-1243_daily_bin1009.fits scfile=/scratch/kocevski/931723/ft2_4FGL_J0900.7-1243_daily_bin1009.fits outfile=/scratch/kocevski/931723/cmap_500860801_501120001_4FGL_J0900.7-1243_daily_bin1009.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.14
user 0.37
sys 3.75

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/931723/ft1_filtered_4FGL_J0900.7-1243_daily_bin1009.fits scfile=/scratch/kocevski/931723/ft2_4FGL_J0900.7-1243_daily_bin1009.fits outfile=/scratch/kocevski/931723/cmap_HighResolution_500860801_501120001_4FGL_J0900.7-1243_daily_bin1009.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.13
user 0.37
sys 3.71

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/931723/ft1_filtered_4FGL_J0900.7-1243_daily_bin1009.fits evtable="EVENTS" scfile=/scratch/kocevski/931723/ft2_4FGL_J0900.7-1243_daily_bin1009.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/931723/Model_4FGL_J0900.7-1243_daily_bin1009.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/931723/ft1_filtered_4FGL_J0900.7-1243_daily_bin1009.fits.....................!
real 92.25
user 86.04
sys 5.83

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5776       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10177E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.537       1.0000         .10000E-03   10000.    
     6 'norm      '    7.4808       1.0000         .10000E-03   10000.    
     7 'norm      '    .15247       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.6201       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    13.524       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.3252       1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.791       1.0000         .10000E-03   10000.    
    14 'Prefactor '    39.905       1.0000         .10000E-03   10000.    
    15 'Prefactor '    30.884       1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.543       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.7640       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0096       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91168       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=   8083.057     FROM MIGRAD    STATUS=CONVERGED    423 CALLS     2204 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.6906        .28784E-08** at limit **
   2  Prefactor     1.5776        1.8883       -.14095E-09   -.14129E-05
   3  norm          .10000E-03    4.5246       -.21070E-06** at limit **
   4  norm          .10000E-03    8.5766        .12824E-06** at limit **
   5  Prefactor     23.534        21.743       -.15234E-05   -.21481E-03
   6  norm          7.4813        8.0535        .12912E-07    .14365E-04
   7  norm          .15035        1.5471        .86254E-07   -.37187E-03
   8  Prefactor     7.6196        4.8478        .10920E-05   -.16735E-02
   9  Prefactor     .10000E-03    3.9237        .11395E-06** at limit **
  10  Prefactor     .10000E-03    2.4015        .19327E-07** at limit **
  11  norm          13.524        6.9599       -.11970E-06   -.40284E-04
  12  Prefactor     4.3255        8.6495        .28302E-05   -.69300E-03
  13  Prefactor     22.782        24.745       -.47463E-05   -.50348E-03
  14  Prefactor     39.903        29.138       -.99851E-06   -.10584E-03
  15  Prefactor     30.882        27.569       -.81755E-06   -.97664E-04
  16  Prefactor     23.538        21.590       -.24247E-05   -.38243E-03
  17  Prefactor     .10000E-03    4.6987        .11584E-06** at limit **
  18  norm          .10000E-03    1.2800       -.15917E-07** at limit **
  19  norm          2.7637        2.9768        .10883E-07   -.11549E-03
  20  Normalizat    1.0096        .17200        .60491E-06   -.53114E-04
  21  Prefactor     .91172        .98863E-01   -.27236E-06    .48518E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.57756
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 23.534
  norm       = 7.48129
  norm       = 0.15035
  Prefactor  = 7.61962
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.5242
  Prefactor  = 4.32546
  Prefactor  = 22.7821
  Prefactor  = 39.9034
  Prefactor  = 30.8819
  Prefactor  = 23.5376
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.76375
  Normalizat = 1.0096
  Prefactor  = 0.911719
 **********
 **   18 **HESSE 
 **********

 FCN=   8083.057     FROM HESSE     STATUS=OK           315 CALLS     2519 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.7013        .14402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5776        1.8811        .13178E-03   -1.5457    
   3  norm          .10000E-03    4.5296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    8.9230        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.534        21.995        .82565E-04   -1.4737    
   6  norm          7.4813        8.0000        .14663E-03   -1.5161    
   7  norm          .15035        4.1995        .21062E-02   -1.5630    
   8  Prefactor     7.6196        5.2350        .72637E-03   -1.5156    
   9  Prefactor     .10000E-03    3.9370        .17387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.4155        .13604E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          13.524        6.9723        .10892E-03   -1.4972    
  12  Prefactor     4.3255        9.2418        .96848E-03   -1.5292    
  13  Prefactor     22.782        26.107        .83904E-04   -1.4753    
  14  Prefactor     39.903        29.163        .63453E-04   -1.4444    
  15  Prefactor     30.882        27.705        .72098E-04   -1.4596    
  16  Prefactor     23.538        22.061        .82555E-04   -1.4737    
  17  Prefactor     .10000E-03    4.7134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.2812        .99319E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.7637        2.9691        .15665E-03   -1.5375    
  20  Normalizat    1.0096        .20026        .29327E-03   -.92709    
  21  Prefactor     .91172        .11528        .18192E-03   -.95733    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.28174e-08
Minuit parameter uncertainties:
  1  1.62776e-06
  2  1.88118
  3  1.54198e-05
  4  3.41277e-05
  5  22.0029
  6  8.00112
  7  1.5888
  8  5.23529
  9  5.58517e-06
  10  4.13959e-07
  11  6.97269
  12  9.24487
  13  26.1201
  14  29.1738
  15  27.7162
  16  22.0684
  17  1.5976e-05
  18  4.07276e-06
  19  2.96921
  20  0.200405
  21  0.115312
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  5.585e-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.117e-01  1.153e-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.010e+00  2.004e-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.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/931723/likelihoodResults_500860801_501120001_4FGL_J0900.7-1243_daily_bin1009.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) = 8083.05845551
delta logL = -0.00121040427075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8083.05724497
delta logL = 1.28979081637e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2624       1.0000          .0000       10.000    
     3 'Normalizat'    1.0096       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91172       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8083.057     FROM MIGRAD    STATUS=FAILED        89 CALLS      244 TOTAL
                     EDM=   .53E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    49.932        .17568E-02** at limit **
   2  Index         2.2465        8.4421        .50000        .32979E-04
   3  Normalizat    1.0096        .18905        .29327E-03    .14227E-04
   4  Prefactor     .91172        .11280        .18192E-03    .18872E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8083.057     FROM SIMPLEX   STATUS=UNCHANGED    157 CALLS      401 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    49.932        .32497E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2465        8.4421        .85892E-04   -.58321    
   3  Normalizat    1.0096        .18905        .85694E-05   -.92709    
   4  Prefactor     .91172        .11280        .29819E-05   -.95733    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8083.057     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      434 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.2208        .35136E-03** at limit **
   2  Index         2.2462        6.1213        .50000        .32962E-04
   3  Normalizat    1.0096        .18920        .11731E-04    .20546E-04
   4  Prefactor     .91172        .11289        .72770E-05    .25934E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Index      = 2.24617
  Normalizat = 1.0096
  Prefactor  = 0.911718
 **********
 **   18 **HESSE 
 **********

 FCN=   8083.057     FROM HESSE     STATUS=OK            29 CALLS      463 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.0208        .70271E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2462        6.1229        .50000       -.58328    
   3  Normalizat    1.0096        .18912        .23461E-05   -.92709    
   4  Prefactor     .91172        .11284        .14554E-05   -.95733    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08836e-09
Minuit parameter uncertainties:
  1  0.000265917
  2  4.17721
  3  0.189245
  4  0.112868
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/931723': 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) = 8083.05724484
delta logL = 2.59105945588e-07

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  2.659e-04  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.246e+00  4.177e+00  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.117e-01  1.129e-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.010e+00  1.892e-01  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/931723/cmap_HighResolution_500860801_501120001_4FGL_J0900.7-1243_daily_bin1009.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.88e-03', job_status='DONE', photon_flux_upper_limit='5.07e-08', time_completed='2021-08-30 20:56:23.863277', job_id='931723', GAL2='0.91', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1630382183.86', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='2.59e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='1009' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:56:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 931723: <4FGL_J0900.7-1243_daily_bin1009> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin1009 135.175 -12.7201 500860801 501120001 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 :                                   815.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   926 sec.
    Turnaround time :                            929 sec.

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

