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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin685
RA = 135.175, Dec = -12.7201
tmin = 416880001, tmax = 417139201
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='930037', job_status='RUN', time_executed='2021-08-30 20:38:54.084757', time_epoch_executed='1630381134.08' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='685'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/930037

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/930037/ft1_4FGL_J0900.7-1243_daily_bin685.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/930037/ft2_4FGL_J0900.7-1243_daily_bin685.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/930037/ft1_4FGL_J0900.7-1243_daily_bin685.fits outfile=/scratch/kocevski/930037/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin685.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=416880001.0 tmax=417139201.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.93
user 5.02
sys 0.80

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/930037/ft2_4FGL_J0900.7-1243_daily_bin685.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/930037/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin685.fits evtable="EVENTS" outfile="/scratch/kocevski/930037/ft1_filtered_4FGL_J0900.7-1243_daily_bin685.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.13
user 0.34
sys 0.74

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/930037/ft1_filtered_4FGL_J0900.7-1243_daily_bin685.fits" evtable="EVENTS" scfile=/scratch/kocevski/930037/ft2_4FGL_J0900.7-1243_daily_bin685.fits sctable="SC_DATA" outfile=/scratch/kocevski/930037/ltcube_416880001_417139201_4FGL_J0900.7-1243_daily_bin685.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/930037/ft2_4FGL_J0900.7-1243_daily_bin685.fits
.....................!
real 14.44
user 13.34
sys 0.97

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/930037/ft1_filtered_4FGL_J0900.7-1243_daily_bin685.fits evtable="EVENTS" scfile=/scratch/kocevski/930037/ft2_4FGL_J0900.7-1243_daily_bin685.fits sctable="SC_DATA" expcube=/scratch/kocevski/930037/ltcube_416880001_417139201_4FGL_J0900.7-1243_daily_bin685.fits outfile=/scratch/kocevski/930037/expmap_416880001_417139201_4FGL_J0900.7-1243_daily_bin685.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/930037/ltcube_416880001_417139201_4FGL_J0900.7-1243_daily_bin685.fits
.....................!
real 190.62
user 185.29
sys 4.93

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/930037/ft1_filtered_4FGL_J0900.7-1243_daily_bin685.fits scfile=/scratch/kocevski/930037/ft2_4FGL_J0900.7-1243_daily_bin685.fits outfile=/scratch/kocevski/930037/cmap_416880001_417139201_4FGL_J0900.7-1243_daily_bin685.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.19
user 0.37
sys 0.71

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/930037/ft1_filtered_4FGL_J0900.7-1243_daily_bin685.fits scfile=/scratch/kocevski/930037/ft2_4FGL_J0900.7-1243_daily_bin685.fits outfile=/scratch/kocevski/930037/cmap_HighResolution_416880001_417139201_4FGL_J0900.7-1243_daily_bin685.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.19
user 0.38
sys 0.72

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/930037/ft1_filtered_4FGL_J0900.7-1243_daily_bin685.fits evtable="EVENTS" scfile=/scratch/kocevski/930037/ft2_4FGL_J0900.7-1243_daily_bin685.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/930037/Model_4FGL_J0900.7-1243_daily_bin685.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/930037/ft1_filtered_4FGL_J0900.7-1243_daily_bin685.fits.....................!
real 65.16
user 62.70
sys 2.01

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11060E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.8263       1.0000         .10000E-03   10000.    
     3 'norm      '    .15510       1.0000         .10000E-03   10000.    
     4 'norm      '    .32993       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.838       1.0000         .10000E-03   10000.    
     6 'norm      '    8.3374       1.0000         .10000E-03   10000.    
     7 'norm      '    .52458       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.2114       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.280       1.0000         .10000E-03   10000.    
    11 'norm      '    .10118E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.203       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.198       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11578       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.6586       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12885E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11629E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.6527       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2119       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .66721       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=   5729.138     FROM MIGRAD    STATUS=CONVERGED    549 CALLS     2335 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.8257       -.49085E-07** at limit **
   2  Prefactor     6.8237        5.1016       -.11282E-06   -.15473E-04
   3  norm          .93614E-01    12.913       -.61734E-06   -.45478E-04
   4  norm          .35411        4.0619       -.89497E-06    .84130E-04
   5  Prefactor     13.854        21.094       -.78923E-05    .20306E-03
   6  norm          8.3358        6.5059        .68109E-07    .64198E-04
   7  norm          .52360        2.0406       -.11177E-05   -.13396E-02
   8  Prefactor     9.2013        7.0984       -.32106E-06   -.14955E-05
   9  Prefactor     .10000E-03    32.018       -.61840E-07** at limit **
  10  Prefactor     16.275        9.1281        .99951E-07   -.79946E-05
  11  norm          .10000E-03    4.4342        .10838E-06** at limit **
  12  Prefactor     13.204        19.814       -.12006E-04   -.11473E-03
  13  Prefactor     11.161        28.543       -.85808E-05    .83282E-04
  14  Prefactor     .10624E-03    51.101        .80615E-05** at limit **
  15  Prefactor     4.6455        25.726        .12449E-04   -.15128E-03
  16  Prefactor     .10000E-03    12.550       -.26340E-07** at limit **
  17  Prefactor     .10000E-03    40.486        .13482E-07** at limit **
  18  norm          .10000E-03    2.2725       -.31682E-07** at limit **
  19  norm          4.6596        3.6238       -.16193E-06   -.12099E-03
  20  Normalizat    1.2120        .19894        .26602E-05   -.25214E-03
  21  Prefactor     .66735        .10828       -.14497E-06    .40142E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.82366
  norm       = 0.0936138
  norm       = 0.354112
  Prefactor  = 13.8541
  norm       = 8.33575
  norm       = 0.523595
  Prefactor  = 9.20134
  Prefactor  = 0.0001
  Prefactor  = 16.275
  norm       = 0.0001
  Prefactor  = 13.2045
  Prefactor  = 11.1611
  Prefactor  = 0.000106241
  Prefactor  = 4.64546
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.65961
  Normalizat = 1.212
  Prefactor  = 0.667351
 **********
 **   18 **HESSE 
 **********

 FCN=   5729.138     FROM HESSE     STATUS=OK           335 CALLS     2670 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.8827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.8237        5.1046        .14307E-03   -1.5185    
   3  norm          .93614E-01    13.520        .93614E-01   -1.5647    
   4  norm          .35411        33.921        .28522E-02   -1.5589    
   5  Prefactor     13.854        20.905        .10767E-03   -1.4963    
   6  norm          8.3358        6.4991        .13884E-03   -1.5130    
   7  norm          .52360        2.0362        .20988E-03   -1.5563    
   8  Prefactor     9.2013        7.0922        .13205E-03   -1.5101    
   9  Prefactor     .10000E-03    33.455        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.275        9.1381        .99263E-04   -1.4901    
  11  norm          .10000E-03    4.4963        .15562E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.204        20.534        .11024E-03   -1.4981    
  13  Prefactor     11.161        28.463        .11972E-03   -1.5040    
  14  Prefactor     .10624E-03    50.879        .13795       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.6455        25.148        .18646E-03   -1.5277    
  16  Prefactor     .10000E-03    12.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    41.755        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.2778        .11142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.6596        3.6260        .12354E-03   -1.5276    
  20  Normalizat    1.2120        .22971        .26221E-03   -.86233    
  21  Prefactor     .66735        .12525        .19202E-03   -1.0482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63923e-09
Minuit parameter uncertainties:
  1  4.05049e-06
  2  5.10491
  3  2.24934
  4  6.93469
  5  20.9163
  6  6.49969
  7  2.03642
  8  7.09289
  9  6.52543e-06
  10  9.13886
  11  2.37477e-05
  12  20.5446
  13  28.498
  14  0.0356682
  15  21.6308
  16  1.46386e-05
  17  0.000119743
  18  6.57583e-06
  19  3.62613
  20  0.229899
  21  0.125304
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  6.525e-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:  6.674e-01  1.253e-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.212e+00  2.299e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 135.175 -12.720
Photon Flux Upper Limit: 9.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/930037/likelihoodResults_416880001_417139201_4FGL_J0900.7-1243_daily_bin685.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5729.13861957
delta logL = -0.000142671234244

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5729.13847694
delta logL = -4.67407517135e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12450E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3621       1.0000          .0000       10.000    
     3 'Normalizat'    1.2122       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66728       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=   5729.138     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      229 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10133E-03    .93083E-01    .90712E-01** at limit **
   2  Index         2.4949        6.7343        .50000       -.25904E-04
   3  Normalizat    1.2120        .65823E-03    .59290E-01    .20905E-03
   4  Prefactor     .66735        .37012E-03    .41964E-01    .19713E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010133
  Index      = 2.49493
  Normalizat = 1.21201
  Prefactor  = 0.667348
 **********
 **   18 **HESSE 
 **********

 FCN=   5729.138     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      270 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10133E-03    .21809        .58739E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4949        7.6383        .50000       -.52477    
   3  Normalizat    1.2120        .74960E-03    .26221E-03   -.86233    
   4  Prefactor     .66735        .42161E-03    .19202E-03   -1.0482    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.40914e-09
Minuit parameter uncertainties:
  1  0.00107707
  2  13.8658
  3  0.000749604
  4  0.000421611
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/930037': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5729.13847568
delta logL = 1.21604989545e-06

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.013e-04  1.077e-03  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.495e+00  1.387e+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:  6.673e-01  4.216e-04  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.212e+00  7.496e-04  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.00e-03', job_status='DONE', photon_flux_upper_limit='9.14e-08', time_completed='2021-08-30 20:48:52.296932', job_id='930037', GAL2='0.67', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1630381732.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='1.22e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='685' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:48:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 930037: <4FGL_J0900.7-1243_daily_bin685> in cluster <slac> Done

Job <4FGL_J0900.7-1243_daily_bin685> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug 30 20:35:29 2021
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 20:35:30 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:35:30 2021
Terminated at Mon Aug 30 20:48:53 2021
Results reported at Mon Aug 30 20:48:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin685 135.175 -12.7201 416880001 417139201 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 :                                   604.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             260.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            804 sec.

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

