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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin866
RA = 135.175, Dec = -12.7201
tmin = 463795201, tmax = 464054401
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='931511', job_status='RUN', time_executed='2021-08-30 20:44:17.083943', time_epoch_executed='1630381457.08' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='866'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/931511

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/931511/ft1_4FGL_J0900.7-1243_daily_bin866.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/931511/ft2_4FGL_J0900.7-1243_daily_bin866.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/931511/ft1_4FGL_J0900.7-1243_daily_bin866.fits outfile=/scratch/kocevski/931511/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin866.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=463795201.0 tmax=464054401.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 3.91
user 3.20
sys 0.69

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/931511/ft1_filtered_4FGL_J0900.7-1243_daily_bin866.fits" evtable="EVENTS" scfile=/scratch/kocevski/931511/ft2_4FGL_J0900.7-1243_daily_bin866.fits sctable="SC_DATA" outfile=/scratch/kocevski/931511/ltcube_463795201_464054401_4FGL_J0900.7-1243_daily_bin866.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/931511/ft2_4FGL_J0900.7-1243_daily_bin866.fits
.....................!
real 11.81
user 10.99
sys 0.79

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/931511/ft1_filtered_4FGL_J0900.7-1243_daily_bin866.fits evtable="EVENTS" scfile=/scratch/kocevski/931511/ft2_4FGL_J0900.7-1243_daily_bin866.fits sctable="SC_DATA" expcube=/scratch/kocevski/931511/ltcube_463795201_464054401_4FGL_J0900.7-1243_daily_bin866.fits outfile=/scratch/kocevski/931511/expmap_463795201_464054401_4FGL_J0900.7-1243_daily_bin866.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/931511/ltcube_463795201_464054401_4FGL_J0900.7-1243_daily_bin866.fits
.....................!
real 192.64
user 187.28
sys 4.96

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/931511/ft1_filtered_4FGL_J0900.7-1243_daily_bin866.fits scfile=/scratch/kocevski/931511/ft2_4FGL_J0900.7-1243_daily_bin866.fits outfile=/scratch/kocevski/931511/cmap_463795201_464054401_4FGL_J0900.7-1243_daily_bin866.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.02
user 0.37
sys 0.61

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/931511/ft1_filtered_4FGL_J0900.7-1243_daily_bin866.fits scfile=/scratch/kocevski/931511/ft2_4FGL_J0900.7-1243_daily_bin866.fits outfile=/scratch/kocevski/931511/cmap_HighResolution_463795201_464054401_4FGL_J0900.7-1243_daily_bin866.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.01
user 0.38
sys 0.62

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/931511/ft1_filtered_4FGL_J0900.7-1243_daily_bin866.fits evtable="EVENTS" scfile=/scratch/kocevski/931511/ft2_4FGL_J0900.7-1243_daily_bin866.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/931511/Model_4FGL_J0900.7-1243_daily_bin866.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/931511/ft1_filtered_4FGL_J0900.7-1243_daily_bin866.fits.....................!
real 90.59
user 88.54
sys 1.75

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.370       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.6564       1.0000         .10000E-03   10000.    
     3 'norm      '    5.4750       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.561       1.0000         .10000E-03   10000.    
     6 'norm      '    .26207E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.3073       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.7214       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.299       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .95249E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    12.012       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.5268       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.2377       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .18809E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .35474E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .37567E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.1008       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .64385       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1614       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8842.221     FROM MIGRAD    STATUS=CONVERGED     67 CALLS     1881 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.371        1.0911        .32296E-07    .34934E-03
   2  Prefactor     1.6568        2.6899        .67333E-06    .19884E-03
   3  norm          5.4755        1.0059       -.13535E-08    .12844E-03
   4  norm          .10000E-03    1.4593       -.10886E-06** at limit **
   5  Prefactor     11.561        1.0058       -.17197E-07    .20228E-03
   6  norm          .10058E-03    7.0058       -.54718E-06** at limit **
   7  norm          5.3068        2.7648        .42876E-06    .80676E-03
   8  Prefactor     3.7221        3.2386       -.62640E-06   -.33490E-04
   9  Prefactor     22.292        1.7009        .20649E-06   -.49009E-02
  10  Prefactor     .10926E-03    5.6853        .38250E-05** at limit **
  11  norm          12.014        2.2414        .26221E-07    .11017E-01
  12  Prefactor     2.5255        1.2479       -.94855E-07   -.26935E-03
  13  Prefactor     8.2402        1.0243       -.64336E-07   -.26549E-03
  14  Prefactor     .10004E-03    15.984        .49322E-05** at limit **
  15  Prefactor     .10057E-03    71.333        .15143E-04** at limit **
  16  Prefactor     .10255E-03    27.680        .96689E-05** at limit **
  17  Prefactor     .10086E-03    17.768        .39832E-05** at limit **
  18  norm          .10000E-03    3.9494        .17561E-06** at limit **
  19  norm          1.1002        2.2097        .56702E-07    .37000E-04
  20  Normalizat    .64365        .18056        .99207E-06    .84770E-04
  21  Prefactor     1.1614        .11269       -.86560E-07    .13646E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.3712
  Prefactor  = 1.65683
  norm       = 5.47553
  norm       = 0.0001
  Prefactor  = 11.5614
  norm       = 0.000100579
  norm       = 5.30677
  Prefactor  = 3.72215
  Prefactor  = 22.2923
  Prefactor  = 0.000109259
  norm       = 12.014
  Prefactor  = 2.52551
  Prefactor  = 8.24023
  Prefactor  = 0.000100039
  Prefactor  = 0.000100569
  Prefactor  = 0.000102554
  Prefactor  = 0.000100865
  norm       = 0.0001
  norm       = 1.10021
  Normalizat = 0.643652
  Prefactor  = 1.16137
 **********
 **   18 **HESSE 
 **********

 FCN=   8842.221     FROM HESSE     STATUS=OK           391 CALLS     2272 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.371        8.7205        .27386E-02   -1.4976    
   2  Prefactor     1.6568        2.7252        .81977E-02   -1.5451    
   3  norm          5.4755        12.075        .42930E-02   -1.5240    
   4  norm          .10000E-03    1.4539        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.561        18.636        .29455E-02   -1.5028    
   6  norm          .10058E-03    4.8759        .67601E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.3068        2.8593        .43615E-02   -1.5247    
   8  Prefactor     3.7221        3.2424        .52331E-02   -1.5322    
   9  Prefactor     22.292        12.819        .21206E-02   -1.4763    
  10  Prefactor     .10926E-03    4.0705        .63201E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          12.014        6.7856        .28896E-02   -1.5015    
  12  Prefactor     2.5255        8.3799        .64244E-02   -1.5390    
  13  Prefactor     8.2402        29.465        .34921E-02   -1.5134    
  14  Prefactor     .10004E-03    16.376        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10057E-03    95.649        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10255E-03    13.615        .13113       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10086E-03    5.8231        .10646       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.8632        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.1002        2.5515        .44877E-01   -1.5498    
  20  Normalizat    .64365        .17181        .80809E-01   -1.0616    
  21  Prefactor     1.1614        .10157        .35616E-01   -.87528    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7784e-07
Minuit parameter uncertainties:
  1  8.72136
  2  2.7254
  3  12.0803
  4  1.49356e-06
  5  18.6457
  6  0.00336052
  7  2.85934
  8  3.24255
  9  12.8203
  10  0.0122789
  11  6.78608
  12  8.3838
  13  29.5167
  14  0.0016031
  15  0.0147721
  16  0.0117967
  17  0.00448885
  18  5.52789e-06
  19  2.55178
  20  0.171955
  21  0.101588
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  2.229e+01  1.282e+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.161e+00  1.016e-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.437e-01  1.720e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.33
Ra Dec: 135.175 -12.720
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 6.71e-08 +/- 3.86e-08
Energy Flux (Fixed Index): 2.63e-05 +/- 1.51e-05

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) = 8841.3336966
delta logL = 0.886921115691

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8841.32794296
delta logL = 0.892674759876

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1599       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9459       1.0000          .0000       10.000    
     3 'Normalizat'    .59879       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1773       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=   8841.328     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      250 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1653        64.123        .33106E-02    .28720E-03
   2  Index         2.9459        2.1843        .10124        .23317E-03
   3  Normalizat    .59863        .71535E-01    .83516E-01    .49798E-04
   4  Prefactor     1.1774        .39754E-01    .35191E-01   -.11515E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.16525
  Index      = 2.94587
  Normalizat = 0.598627
  Prefactor  = 1.17735
 **********
 **   18 **HESSE 
 **********

 FCN=   8841.328     FROM HESSE     STATUS=OK            33 CALLS      283 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1653        14.478        .12544E-03   -1.5102    
   2  Index         2.9459        .78692        .38921E-02   -.42336    
   3  Normalizat    .59863        .18629        .36991E-03   -1.0804    
   4  Prefactor     1.1774        .11361        .16785E-03   -.87031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.18565e-11
Minuit parameter uncertainties:
  1  14.4839
  2  0.790878
  3  0.18649
  4  0.11363
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/931511': 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) = 8841.32794209
delta logL = 0.892675624718

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  9.165e+00  1.448e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.946e+00  7.909e-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.177e+00  1.136e-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:  5.986e-01  1.865e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.29
Ra Dec: 135.175 -12.720
Photon Index (Free Index): 2.95 +/- 0.79
Photon Flux (Free Index): 1.04e-07 +/- 5.11e-08
Energy Flux (Free Index): 2.13e-05 +/- 1.15e-05

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/931511/cmap_HighResolution_463795201_464054401_4FGL_J0900.7-1243_daily_bin866.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.71e-08', energy_flux2='2.13e-05', photon_flux_error='3.86e-08', dlogl='8.93e-01', energy_flux='2.63e-05', photon_flux2='1.04e-07', job_status='DONE', time_completed='2021-08-30 20:55:00.712450', photon_index_error2='0.79', photon_index2='2.95', ts='5.33', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', energy_flux_error2='1.15e-05', EG='0.64', time_epoch_completed='1630382100.71', return_code='0', job_id='931511', GAL2='1.18', EG2='0.60', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='5.11e-08', ts2='7.29', photon_index='2.28' WHERE bin_id='866' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:55:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 931511: <4FGL_J0900.7-1243_daily_bin866> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin866 135.175 -12.7201 463795201 464054401 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 :                                   648.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             284.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            860 sec.

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

