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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin501
RA = 135.175, Dec = -12.7201
tmin = 369187201, tmax = 369446401
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='928612', job_status='RUN', time_executed='2021-08-30 20:35:10.961476', time_epoch_executed='1630380910.96' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='501'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/928612

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/928612/ft1_4FGL_J0900.7-1243_daily_bin501.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/928612/ft2_4FGL_J0900.7-1243_daily_bin501.fits


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

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

Done.
real 5.74
user 3.21
sys 2.49

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/928612/ft2_4FGL_J0900.7-1243_daily_bin501.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/928612/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin501.fits evtable="EVENTS" outfile="/scratch/kocevski/928612/ft1_filtered_4FGL_J0900.7-1243_daily_bin501.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 2.83
user 0.34
sys 2.46

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/928612/ft1_filtered_4FGL_J0900.7-1243_daily_bin501.fits" evtable="EVENTS" scfile=/scratch/kocevski/928612/ft2_4FGL_J0900.7-1243_daily_bin501.fits sctable="SC_DATA" outfile=/scratch/kocevski/928612/ltcube_369187201_369446401_4FGL_J0900.7-1243_daily_bin501.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/928612/ft2_4FGL_J0900.7-1243_daily_bin501.fits
.....................!
real 14.47
user 11.53
sys 2.89

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/928612/ft1_filtered_4FGL_J0900.7-1243_daily_bin501.fits evtable="EVENTS" scfile=/scratch/kocevski/928612/ft2_4FGL_J0900.7-1243_daily_bin501.fits sctable="SC_DATA" expcube=/scratch/kocevski/928612/ltcube_369187201_369446401_4FGL_J0900.7-1243_daily_bin501.fits outfile=/scratch/kocevski/928612/expmap_369187201_369446401_4FGL_J0900.7-1243_daily_bin501.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/928612/ltcube_369187201_369446401_4FGL_J0900.7-1243_daily_bin501.fits
.....................!
real 193.46
user 185.91
sys 7.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/928612/ft1_filtered_4FGL_J0900.7-1243_daily_bin501.fits scfile=/scratch/kocevski/928612/ft2_4FGL_J0900.7-1243_daily_bin501.fits outfile=/scratch/kocevski/928612/cmap_369187201_369446401_4FGL_J0900.7-1243_daily_bin501.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 2.77
user 0.38
sys 2.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/928612/ft1_filtered_4FGL_J0900.7-1243_daily_bin501.fits scfile=/scratch/kocevski/928612/ft2_4FGL_J0900.7-1243_daily_bin501.fits outfile=/scratch/kocevski/928612/cmap_HighResolution_369187201_369446401_4FGL_J0900.7-1243_daily_bin501.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 2.85
user 0.38
sys 2.40

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/928612/ft1_filtered_4FGL_J0900.7-1243_daily_bin501.fits evtable="EVENTS" scfile=/scratch/kocevski/928612/ft2_4FGL_J0900.7-1243_daily_bin501.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/928612/Model_4FGL_J0900.7-1243_daily_bin501.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/928612/ft1_filtered_4FGL_J0900.7-1243_daily_bin501.fits.....................!
real 77.33
user 72.94
sys 4.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.168       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.4796       1.0000         .10000E-03   10000.    
     3 'norm      '    .10200E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    17.400       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2690       1.0000         .10000E-03   10000.    
     6 'norm      '    14.926       1.0000         .10000E-03   10000.    
     7 'norm      '    .75442E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.413       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    8.0448       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .95268E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10472E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.743       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.8717       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    53.385       1.0000         .10000E-03   10000.    
    18 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.8721       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .88386       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0723       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=   6419.831     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     1971 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.156        14.163        .39742E-06    .63229E-04
   2  Prefactor     2.4795        2.6668       -.59943E-06   -.23002E-03
   3  norm          .10000E-03    18.272        .24704E-06** at limit **
   4  norm          17.401        9.5591        .26945E-06    .16984E-04
   5  Prefactor     3.2531        76.506        .38826E-05   -.97880E-05
   6  norm          14.911        12.410        .11660E-05   -.77892E-04
   7  norm          .10021E-03    2.2137        .50113E-06** at limit **
   8  Prefactor     .10000E-03    3.9908       -.12737E-06** at limit **
   9  Prefactor     20.419        18.032        .34825E-06   -.21634E-03
  10  Prefactor     .10000E-03    4.1983       -.13982E-06** at limit **
  11  norm          8.0485        6.4517       -.34734E-06   -.32606E-03
  12  Prefactor     .10199E-03    17.707        .29339E-05** at limit **
  13  Prefactor     .10000E-03    30.097       -.37586E-06** at limit **
  14  Prefactor     15.832        40.027       -.22126E-06   -.67006E-04
  15  Prefactor     1.8732        182.64        .21885E-05   -.12136E-04
  16  Prefactor     .10000E-03    25.919        .48259E-06** at limit **
  17  Prefactor     53.363        25.458        .12522E-05    .13336E-03
  18  norm          .10000E-03    4.8223        .84988E-07** at limit **
  19  norm          4.8736        5.6302        .25973E-06   -.36122E-04
  20  Normalizat    .88411        .25964       -.64090E-05   -.28510E-03
  21  Prefactor     1.0723        .13704        .17689E-05   -.62606E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.1558
  Prefactor  = 2.4795
  norm       = 0.0001
  norm       = 17.4007
  Prefactor  = 3.25308
  norm       = 14.9108
  norm       = 0.000100208
  Prefactor  = 0.0001
  Prefactor  = 20.4188
  Prefactor  = 0.0001
  norm       = 8.04851
  Prefactor  = 0.000101995
  Prefactor  = 0.0001
  Prefactor  = 15.8323
  Prefactor  = 1.87317
  Prefactor  = 0.0001
  Prefactor  = 53.3625
  norm       = 0.0001
  norm       = 4.87356
  Normalizat = 0.884106
  Prefactor  = 1.07225
 **********
 **   18 **HESSE 
 **********

 FCN=   6419.831     FROM HESSE     STATUS=OK           331 CALLS     2302 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.156        14.183        .74183E-04   -1.4628    
   2  Prefactor     2.4795        2.6678        .66105E-03   -1.5393    
   3  norm          .10000E-03    18.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          17.401        9.5900        .96016E-04   -1.4873    
   5  Prefactor     3.2531        76.558        .22397E-03   -1.5347    
   6  norm          14.911        12.140        .10367E-03   -1.4935    
   7  norm          .10021E-03    30.184        .20718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.0260        .15614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.419        17.640        .88650E-04   -1.4804    
  10  Prefactor     .10000E-03    4.2212        .16024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          8.0485        6.4847        .14136E-03   -1.5140    
  12  Prefactor     .10199E-03    21.217        .91064E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    30.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.832        41.193        .10094E-03   -1.4912    
  15  Prefactor     1.8732        183.63        .30442E-03   -1.5434    
  16  Prefactor     .10000E-03    25.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     53.363        25.591        .54895E-04   -1.4246    
  18  norm          .10000E-03    4.8436        .17181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.8736        5.6148        .18224E-03   -1.5266    
  20  Normalizat    .88411        .27603        .35235E-03   -.97021    
  21  Prefactor     1.0723        .14863        .18825E-03   -.90358    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.10053e-09
Minuit parameter uncertainties:
  1  14.1846
  2  2.66795
  3  1.35107e-06
  4  9.5908
  5  31.6077
  6  12.1421
  7  0.0050135
  8  5.56807e-06
  9  17.6447
  10  2.0289e-06
  11  6.48522
  12  0.0130166
  13  2.69684e-05
  14  41.2667
  15  37.2104
  16  5.02103e-05
  17  25.5965
  18  9.37214e-06
  19  5.61544
  20  0.27647
  21  0.14869
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  2.042e+01  1.764e+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.072e+00  1.487e-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:  8.841e-01  2.765e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.11
Ra Dec: 135.175 -12.720
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 6.15e-08 +/- 5.31e-08
Energy Flux (Fixed Index): 2.41e-05 +/- 2.08e-05

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

Saving results to:
/scratch/kocevski/928612/likelihoodResults_369187201_369446401_4FGL_J0900.7-1243_daily_bin501.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) = 6419.83071043
delta logL = 0.000724908381017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6419.8302205
delta logL = 0.00121484147257

Fit tolerance = 1e-08

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

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

 FCN=   6419.830     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      284 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.012        22.339        .87379E-04    .34478E-04
   2  Index         2.2400        .81629        .82969E-02    .29853E-04
   3  Normalizat    .88737        .25836        .35177E-03    .24866E-03
   4  Prefactor     1.0711        .14687        .18834E-03    .17059E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.0119
  Index      = 2.24001
  Normalizat = 0.887371
  Prefactor  = 1.07112
 **********
 **   18 **HESSE 
 **********

 FCN=   6419.830     FROM HESSE     STATUS=OK            25 CALLS      309 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.012        21.078        .34952E-05   -1.4791    
   2  Index         2.2400        .76828        .33187E-03   -.58476    
   3  Normalizat    .88737        .25732        .14071E-04   -.96905    
   4  Prefactor     1.0711        .14660        .37667E-04   -.90395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46386e-10
Minuit parameter uncertainties:
  1  21.0856
  2  0.772695
  3  0.257678
  4  0.146656
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/928612': 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) = 6419.83022047
delta logL = 0.00121487154411

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  2.101e+01  2.109e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.240e+00  7.727e-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.071e+00  1.467e-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:  8.874e-01  2.577e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.11
Ra Dec: 135.175 -12.720
Photon Index (Free Index): 2.24 +/- 0.77
Photon Flux (Free Index): 5.90e-08 +/- 7.08e-08
Energy Flux (Free Index): 2.47e-05 +/- 2.40e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/928612/cmap_HighResolution_369187201_369446401_4FGL_J0900.7-1243_daily_bin501.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.30e-02', comment='SUCCESS', photon_flux='6.15e-08', energy_flux2='2.47e-05', photon_flux_error='5.31e-08', dlogl='1.21e-03', energy_flux='2.41e-05', photon_flux2='5.90e-08', job_status='DONE', time_completed='2021-08-30 20:45:39.279051', photon_index_error2='0.77', photon_index2='2.24', ts='2.11', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.69e-07', energy_flux_error2='2.40e-05', EG='0.88', time_epoch_completed='1630381539.28', return_code='0', job_id='928612', GAL2='1.07', EG2='0.89', return_code2='0', energy_flux_error='2.08e-05', photon_flux_error2='7.08e-08', ts2='2.11', photon_index='2.28' WHERE bin_id='501' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:45:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 928612: <4FGL_J0900.7-1243_daily_bin501> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin501> 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) <bullet0110>, 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:45:40 2021
Results reported at Mon Aug 30 20:45:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin501 135.175 -12.7201 369187201 369446401 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 :                                   664.17 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             250.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            893 sec.

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

