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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin731
RA = 135.175, Dec = -12.7201
tmin = 428803201, tmax = 429062401
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='930108', job_status='RUN', time_executed='2021-08-30 20:39:03.031979', time_epoch_executed='1630381143.03' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/930108

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/930108/ft1_4FGL_J0900.7-1243_daily_bin731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/930108/ft2_4FGL_J0900.7-1243_daily_bin731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/930108/ft1_4FGL_J0900.7-1243_daily_bin731.fits outfile=/scratch/kocevski/930108/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin731.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=428803201.0 tmax=429062401.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 11.77
user 6.38
sys 5.14

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/930108/ft1_filtered_4FGL_J0900.7-1243_daily_bin731.fits" evtable="EVENTS" scfile=/scratch/kocevski/930108/ft2_4FGL_J0900.7-1243_daily_bin731.fits sctable="SC_DATA" outfile=/scratch/kocevski/930108/ltcube_428803201_429062401_4FGL_J0900.7-1243_daily_bin731.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/930108/ft2_4FGL_J0900.7-1243_daily_bin731.fits
.....................!
real 16.67
user 11.37
sys 5.22

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/930108/ft1_filtered_4FGL_J0900.7-1243_daily_bin731.fits evtable="EVENTS" scfile=/scratch/kocevski/930108/ft2_4FGL_J0900.7-1243_daily_bin731.fits sctable="SC_DATA" expcube=/scratch/kocevski/930108/ltcube_428803201_429062401_4FGL_J0900.7-1243_daily_bin731.fits outfile=/scratch/kocevski/930108/expmap_428803201_429062401_4FGL_J0900.7-1243_daily_bin731.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/930108/ltcube_428803201_429062401_4FGL_J0900.7-1243_daily_bin731.fits
.....................!
real 196.01
user 185.13
sys 10.39

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/930108/ft1_filtered_4FGL_J0900.7-1243_daily_bin731.fits scfile=/scratch/kocevski/930108/ft2_4FGL_J0900.7-1243_daily_bin731.fits outfile=/scratch/kocevski/930108/cmap_428803201_429062401_4FGL_J0900.7-1243_daily_bin731.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 5.34
user 0.36
sys 4.95

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/930108/ft1_filtered_4FGL_J0900.7-1243_daily_bin731.fits scfile=/scratch/kocevski/930108/ft2_4FGL_J0900.7-1243_daily_bin731.fits outfile=/scratch/kocevski/930108/cmap_HighResolution_428803201_429062401_4FGL_J0900.7-1243_daily_bin731.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 5.37
user 0.39
sys 4.93

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/930108/ft1_filtered_4FGL_J0900.7-1243_daily_bin731.fits evtable="EVENTS" scfile=/scratch/kocevski/930108/ft2_4FGL_J0900.7-1243_daily_bin731.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/930108/Model_4FGL_J0900.7-1243_daily_bin731.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/930108/ft1_filtered_4FGL_J0900.7-1243_daily_bin731.fits.....................!
real 63.07
user 55.35
sys 7.52

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .49484       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10204E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.1484       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.6925       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.575       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.1470       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    37.577       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.9743       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10862E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    24.541       1.0000         .10000E-03   10000.    
    18 'norm      '    .10759E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .85830       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0103       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=   4739.144     FROM MIGRAD    STATUS=CONVERGED    449 CALLS     2257 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.6492        .13478E-06** at limit **
   2  Prefactor     .10000E-03    2.4476        .10144E-06** at limit **
   3  norm          .10000E-03    7.9762        .11420E-06** at limit **
   4  norm          .49709        4.1356       -.30304E-06    .52816E-04
   5  Prefactor     .10000E-03    15.198        .14043E-06** at limit **
   6  norm          .10000E-03    13.742        .23940E-06** at limit **
   7  norm          3.1502        4.7779        .57306E-06   -.42910E-04
   8  Prefactor     9.6919        9.5389        .24296E-05   -.54310E-04
   9  Prefactor     17.555        23.065       -.21288E-06   -.37622E-05
  10  Prefactor     8.1471        8.2577        .45390E-07   -.12881E-04
  11  norm          .10000E-03    3.5104        .74805E-07** at limit **
  12  Prefactor     .10000E-03    9.0878       -.19215E-06** at limit **
  13  Prefactor     37.506        51.249       -.50060E-06   -.77083E-04
  14  Prefactor     3.9657        131.83        .35458E-06   -.36747E-05
  15  Prefactor     .10000E-03    19.911       -.11279E-06** at limit **
  16  Prefactor     .10000E-03    23.827        .26980E-06** at limit **
  17  Prefactor     24.507        28.192        .27775E-06   -.42264E-05
  18  norm          .10000E-03    6.0739        .12239E-06** at limit **
  19  norm          .10000E-03    3.0565        .70843E-07** at limit **
  20  Normalizat    .85814        .23621       -.56757E-06   -.17698E-04
  21  Prefactor     1.0104        .13500       -.63478E-06    .33931E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.497094
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.15016
  Prefactor  = 9.69187
  Prefactor  = 17.5554
  Prefactor  = 8.14713
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.5063
  Prefactor  = 3.96567
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.5066
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.858138
  Prefactor  = 1.01043
 **********
 **   18 **HESSE 
 **********

 FCN=   4739.144     FROM HESSE     STATUS=OK           313 CALLS     2570 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.6647        .15982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.4644        .10519E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    7.9792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .49709        19.307        .26596E-02   -1.5567    
   5  Prefactor     .10000E-03    15.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    13.898        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.1502        4.7301        .16410E-03   -1.5353    
   8  Prefactor     9.6919        9.5421        .64358E-03   -1.5085    
   9  Prefactor     17.555        22.949        .95537E-04   -1.4870    
  10  Prefactor     8.1471        8.2534        .14046E-03   -1.5137    
  11  norm          .10000E-03    3.5342        .12597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.0971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     37.506        51.236        .65382E-04   -1.4482    
  14  Prefactor     3.9657        133.51        .20232E-03   -1.5310    
  15  Prefactor     .10000E-03    19.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    23.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     24.507        28.192        .80861E-04   -1.4717    
  18  norm          .10000E-03    6.1135        .16568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.0889        .11754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .85814        .27090        .32831E-03   -.97947    
  21  Prefactor     1.0104        .15580        .17771E-03   -.92383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43029e-10
Minuit parameter uncertainties:
  1  5.87261e-06
  2  2.14452e-06
  3  1.84336e-05
  4  6.19748
  5  5.62921e-06
  6  1.1936e-05
  7  4.73071
  8  9.54364
  9  22.9607
  10  8.25458
  11  2.53276e-06
  12  1.72876e-05
  13  51.2961
  14  46.1318
  15  8.02601e-05
  16  7.73143e-05
  17  28.2068
  18  1.24629e-06
  19  2.62915e-06
  20  0.271327
  21  0.15587
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.756e+01  2.296e+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.010e+00  1.559e-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.581e-01  2.713e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/930108/likelihoodResults_428803201_429062401_4FGL_J0900.7-1243_daily_bin731.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) = 4738.76112396
delta logL = 0.383283002659

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4738.74903072
delta logL = 0.395376244731

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3129       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1906       1.0000          .0000       10.000    
     3 'Normalizat'    .79960       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0323       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4738.749     FROM MIGRAD    STATUS=FAILED        91 CALLS      332 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3088        181.40        .12930E-03   -.10551E-04
   2  Index         3.1909        6.5955        .43618E-02    .43479E-03
   3  Normalizat    .79962        .29178        .33875E-03    .90211E-04
   4  Prefactor     1.0323        .17268        .17597E-03   -.20785E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4738.749     FROM SIMPLEX   STATUS=UNCHANGED     93 CALLS      425 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3088        181.40        .33798E-03   -.10551E-04
   2  Index         3.1909        6.5955        .13094E-02    .43479E-03
   3  Normalizat    .79962        .29178        .42298E-03    .90211E-04
   4  Prefactor     1.0323        .17268        .16966E-03   -.20785E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4738.749     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      454 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3086        15.873        .51722E-05   -.78250E-04
   2  Index         3.1909        1.4058        .87237E-03    .14974E-04
   3  Normalizat    .79961        .27060        .13550E-04    .68296E-04
   4  Prefactor     1.0323        .15418        .35193E-04   -.16727E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.30865
  Index      = 3.19094
  Normalizat = 0.799614
  Prefactor  = 1.03228
 **********
 **   18 **HESSE 
 **********

 FCN=   4738.749     FROM HESSE     STATUS=OK            23 CALLS      477 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3086        14.258        .10344E-05   -1.5247    
   2  Index         3.1909        1.2658        .34895E-04   -.37021    
   3  Normalizat    .79961        .27044        .27100E-05   -1.0008    
   4  Prefactor     1.0323        .15393        .70386E-05   -.91661    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.61993e-10
Minuit parameter uncertainties:
  1  14.2668
  2  1.28193
  3  0.270895
  4  0.153993
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/930108': 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) = 4738.74903067
delta logL = 0.395376294108

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  5.309e+00  1.427e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  3.191e+00  1.282e+00  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  1.364e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  1.032e+00  1.540e-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:  7.996e-01  2.709e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.71
Ra Dec: 135.175 -12.720
Photon Index (Free Index): 3.19 +/- 1.28
Photon Flux (Free Index): 1.01e-07 +/- 9.32e-08
Energy Flux (Free Index): 1.86e-05 +/- 1.73e-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/930108/cmap_HighResolution_428803201_429062401_4FGL_J0900.7-1243_daily_bin731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-02', comment='SUCCESS', energy_flux2='1.86e-05', dlogl='3.95e-01', photon_flux2='1.01e-07', job_status='DONE', time_completed='2021-08-30 20:49:24.579619', photon_index_error2='1.28', photon_index2='3.19', ts='0.82', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.87e-07', energy_flux_error2='1.73e-05', EG='0.86', time_epoch_completed='1630381764.58', return_code='0', job_id='930108', GAL2='1.03', EG2='0.80', return_code2='0', photon_flux_error2='9.32e-08', ts2='1.71', photon_index='2.28' WHERE bin_id='731' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:49:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 930108: <4FGL_J0900.7-1243_daily_bin731> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin731 135.175 -12.7201 428803201 429062401 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 :                                   695.44 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             261.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            831 sec.

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

