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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin500
RA = 135.175, Dec = -12.7201
tmin = 368928001, tmax = 369187201
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='928610', job_status='RUN', time_executed='2021-08-30 20:33:21.419382', time_epoch_executed='1630380801.42' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='500'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/928610

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/928610/ft1_4FGL_J0900.7-1243_daily_bin500.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/928610/ft2_4FGL_J0900.7-1243_daily_bin500.fits


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

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

Done.
real 6.84
user 3.11
sys 3.70

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/928610/ft1_filtered_4FGL_J0900.7-1243_daily_bin500.fits" evtable="EVENTS" scfile=/scratch/kocevski/928610/ft2_4FGL_J0900.7-1243_daily_bin500.fits sctable="SC_DATA" outfile=/scratch/kocevski/928610/ltcube_368928001_369187201_4FGL_J0900.7-1243_daily_bin500.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/928610/ft2_4FGL_J0900.7-1243_daily_bin500.fits
.....................!
real 16.37
user 11.65
sys 4.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/928610/ft1_filtered_4FGL_J0900.7-1243_daily_bin500.fits evtable="EVENTS" scfile=/scratch/kocevski/928610/ft2_4FGL_J0900.7-1243_daily_bin500.fits sctable="SC_DATA" expcube=/scratch/kocevski/928610/ltcube_368928001_369187201_4FGL_J0900.7-1243_daily_bin500.fits outfile=/scratch/kocevski/928610/expmap_368928001_369187201_4FGL_J0900.7-1243_daily_bin500.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/928610/ltcube_368928001_369187201_4FGL_J0900.7-1243_daily_bin500.fits
.....................!
real 196.13
user 186.45
sys 9.31

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/928610/ft1_filtered_4FGL_J0900.7-1243_daily_bin500.fits scfile=/scratch/kocevski/928610/ft2_4FGL_J0900.7-1243_daily_bin500.fits outfile=/scratch/kocevski/928610/cmap_368928001_369187201_4FGL_J0900.7-1243_daily_bin500.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.16
user 0.38
sys 3.74

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/928610/ft1_filtered_4FGL_J0900.7-1243_daily_bin500.fits scfile=/scratch/kocevski/928610/ft2_4FGL_J0900.7-1243_daily_bin500.fits outfile=/scratch/kocevski/928610/cmap_HighResolution_368928001_369187201_4FGL_J0900.7-1243_daily_bin500.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.15
user 0.39
sys 3.74

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/928610/ft1_filtered_4FGL_J0900.7-1243_daily_bin500.fits evtable="EVENTS" scfile=/scratch/kocevski/928610/ft2_4FGL_J0900.7-1243_daily_bin500.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/928610/Model_4FGL_J0900.7-1243_daily_bin500.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/928610/ft1_filtered_4FGL_J0900.7-1243_daily_bin500.fits.....................!
real 82.14
user 74.97
sys 6.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.8634       1.0000         .10000E-03   10000.    
     3 'norm      '    4.7247       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.0742       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6348       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.6740       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.4451       1.0000         .10000E-03   10000.    
    11 'norm      '    4.0790       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    38.100       1.0000         .10000E-03   10000.    
    14 'Prefactor '    53.890       1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.273       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .39502E-01   1.0000         .10000E-03   10000.    
    19 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2888       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94359       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=   6824.930     FROM MIGRAD    STATUS=CONVERGED    436 CALLS     2192 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.8894        .10280E-05** at limit **
   2  Prefactor     4.8623        5.0451        .27962E-05    .13745E-04
   3  norm          4.7201        14.945        .13974E-05   -.19275E-04
   4  norm          .10000E-03    11.749        .21948E-05** at limit **
   5  Prefactor     .10000E-03    7.8893        .70335E-08** at limit **
   6  norm          1.0710        1.5120        .85508E-06   -.36187E-02
   7  norm          .10000E-03    1.6183        .74071E-07** at limit **
   8  Prefactor     1.6345        11.221       -.18095E-05   -.10168E-03
   9  Prefactor     7.6784        14.196       -.72534E-05   -.30942E-04
  10  Prefactor     3.4453        4.3021        .48655E-06    .36248E-04
  11  norm          4.0803        7.0893       -.14383E-05   -.29479E-04
  12  Prefactor     .10000E-03    12.595       -.46092E-05** at limit **
  13  Prefactor     38.098        48.978       -.30250E-05   -.99159E-05
  14  Prefactor     53.908        46.147        .15502E-04    .73106E-04
  15  Prefactor     22.238        43.779       -.42678E-04   -.13462E-03
  16  Prefactor     .10000E-03    15.063        .14779E-05** at limit **
  17  Prefactor     .10000E-03    7.5421       -.10826E-05** at limit **
  18  norm          .10002E-03    5.3084        .27780E-05** at limit **
  19  norm          .10000E-03    1.3337       -.13676E-06** at limit **
  20  Normalizat    1.2884        .21734        .47441E-05   -.43465E-03
  21  Prefactor     .94386        .11931       -.59387E-06   -.14004E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.86229
  norm       = 4.72011
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.07105
  norm       = 0.0001
  Prefactor  = 1.63448
  Prefactor  = 7.67842
  Prefactor  = 3.44525
  norm       = 4.08033
  Prefactor  = 0.0001
  Prefactor  = 38.0981
  Prefactor  = 53.9083
  Prefactor  = 22.2376
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100016
  norm       = 0.0001
  Normalizat = 1.28839
  Prefactor  = 0.943858
 **********
 **   18 **HESSE 
 **********

 FCN=   6824.930     FROM HESSE     STATUS=OK           315 CALLS     2507 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.9561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.8623        5.0411        .18194E-03   -1.5267    
   3  norm          4.7201        14.929        .18512E-03   -1.5273    
   4  norm          .10000E-03    12.109        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.8936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.0710        6.9966        .20988E-02   -1.5501    
   7  norm          .10000E-03    1.6468        .10249E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.6345        11.070        .33063E-03   -1.5452    
   9  Prefactor     7.6784        14.210        .14476E-03   -1.5154    
  10  Prefactor     3.4453        4.2965        .18638E-03   -1.5337    
  11  norm          4.0803        7.0814        .19962E-03   -1.5304    
  12  Prefactor     .10000E-03    12.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     38.098        49.063        .64933E-04   -1.4473    
  14  Prefactor     53.908        46.450        .54638E-04   -1.4238    
  15  Prefactor     22.238        43.893        .84871E-04   -1.4764    
  16  Prefactor     .10000E-03    15.073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.5577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10002E-03    90.106        .36255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.3354        .93162E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2884        .25249        .30098E-03   -.83913    
  21  Prefactor     .94386        .13918        .19623E-03   -.94625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61434e-08
Minuit parameter uncertainties:
  1  6.44529e-05
  2  5.04154
  3  14.9405
  4  0.000105761
  5  1.06991e-05
  6  5.4756
  7  1.85018e-05
  8  8.50931
  9  14.2162
  10  4.29687
  11  7.08288
  12  0.000126631
  13  49.1154
  14  46.4816
  15  43.957
  16  1.94177e-05
  17  1.49706e-06
  18  0.00236857
  19  1.03911e-05
  20  0.252728
  21  0.139228
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  7.678e+00  1.422e+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:  9.439e-01  1.392e-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.288e+00  2.527e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.35
Ra Dec: 135.175 -12.720
Photon Flux Upper Limit: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/928610/likelihoodResults_368928001_369187201_4FGL_J0900.7-1243_daily_bin500.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) = 6824.89021907
delta logL = 0.0400823180744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6824.88306175
delta logL = 0.0472396421274

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1777       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5507       1.0000          .0000       10.000    
     3 'Normalizat'    1.2805       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94584       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6824.883     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      265 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1576        14.683        .80759E-03    .12488E-03
   2  Index         2.5533        1.0548        .95566E-02    .40293E-03
   3  Normalizat    1.2806        .24054        .30176E-03   -.13186E-05
   4  Prefactor     .94581        .13620        .19605E-03   -.17977E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.15762
  Index      = 2.55329
  Normalizat = 1.28064
  Prefactor  = 0.945811
 **********
 **   18 **HESSE 
 **********

 FCN=   6824.883     FROM HESSE     STATUS=OK            27 CALLS      292 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1576        12.995        .16152E-03   -1.5212    
   2  Index         2.5533        .93529        .19113E-02   -.51133    
   3  Normalizat    1.2806        .24071        .12070E-04   -.84146    
   4  Prefactor     .94581        .13621        .78419E-05   -.94558    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18649e-11
Minuit parameter uncertainties:
  1  13.0014
  2  0.942617
  3  0.24092
  4  0.136257
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/928610': 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) = 6824.88305722
delta logL = 0.0472441662969

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  6.158e+00  1.300e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.553e+00  9.426e-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:  9.458e-01  1.363e-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.281e+00  2.409e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.22e-03', job_status='DONE', photon_flux_upper_limit='1.20e-07', time_completed='2021-08-30 20:44:39.605909', job_id='928610', GAL2='0.95', fit_tolerance='1e-08', EG2='1.28', EG='1.29', time_epoch_completed='1630381479.61', return_code2='0', ts='0.35', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='4.72e-02', ts2='0.44', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='500' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:44:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 928610: <4FGL_J0900.7-1243_daily_bin500> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin500> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Aug 30 20:30:47 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:30:48 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:30:48 2021
Terminated at Mon Aug 30 20:44:40 2021
Results reported at Mon Aug 30 20:44:40 2021

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   730.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            833 sec.

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

