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


Performing analysis on: 4FGL_J0900.7-1243_daily_bin519
RA = 135.175, Dec = -12.7201
tmin = 373852801, tmax = 374112001
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='928641', job_status='RUN', time_executed='2021-08-30 20:33:47.795564', time_epoch_executed='1630380827.8' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='519'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/928641

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/928641/ft1_4FGL_J0900.7-1243_daily_bin519.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/928641/ft2_4FGL_J0900.7-1243_daily_bin519.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/928641/ft1_4FGL_J0900.7-1243_daily_bin519.fits outfile=/scratch/kocevski/928641/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin519.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=373852801.0 tmax=374112001.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.33
user 4.22
sys 1.08

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/928641/ft1_filtered_4FGL_J0900.7-1243_daily_bin519.fits" evtable="EVENTS" scfile=/scratch/kocevski/928641/ft2_4FGL_J0900.7-1243_daily_bin519.fits sctable="SC_DATA" outfile=/scratch/kocevski/928641/ltcube_373852801_374112001_4FGL_J0900.7-1243_daily_bin519.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/928641/ft2_4FGL_J0900.7-1243_daily_bin519.fits
.....................!
real 12.82
user 11.39
sys 1.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/928641/ft1_filtered_4FGL_J0900.7-1243_daily_bin519.fits evtable="EVENTS" scfile=/scratch/kocevski/928641/ft2_4FGL_J0900.7-1243_daily_bin519.fits sctable="SC_DATA" expcube=/scratch/kocevski/928641/ltcube_373852801_374112001_4FGL_J0900.7-1243_daily_bin519.fits outfile=/scratch/kocevski/928641/expmap_373852801_374112001_4FGL_J0900.7-1243_daily_bin519.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/928641/ltcube_373852801_374112001_4FGL_J0900.7-1243_daily_bin519.fits
.....................!
real 190.78
user 185.07
sys 5.30

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/928641/ft1_filtered_4FGL_J0900.7-1243_daily_bin519.fits scfile=/scratch/kocevski/928641/ft2_4FGL_J0900.7-1243_daily_bin519.fits outfile=/scratch/kocevski/928641/cmap_373852801_374112001_4FGL_J0900.7-1243_daily_bin519.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.39
user 0.38
sys 0.99

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/928641/ft1_filtered_4FGL_J0900.7-1243_daily_bin519.fits scfile=/scratch/kocevski/928641/ft2_4FGL_J0900.7-1243_daily_bin519.fits outfile=/scratch/kocevski/928641/cmap_HighResolution_373852801_374112001_4FGL_J0900.7-1243_daily_bin519.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.39
user 0.38
sys 1.01

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/928641/ft1_filtered_4FGL_J0900.7-1243_daily_bin519.fits evtable="EVENTS" scfile=/scratch/kocevski/928641/ft2_4FGL_J0900.7-1243_daily_bin519.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/928641/Model_4FGL_J0900.7-1243_daily_bin519.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/928641/ft1_filtered_4FGL_J0900.7-1243_daily_bin519.fits.....................!
real 69.27
user 66.67
sys 2.36

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0588       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.9607       1.0000         .10000E-03   10000.    
     3 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    11.790       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.4754       1.0000         .10000E-03   10000.    
     6 'norm      '    7.3992       1.0000         .10000E-03   10000.    
     7 'norm      '    1.2793       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.2507       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .45787       1.0000         .10000E-03   10000.    
    11 'norm      '    .84699       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.891       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    20.702       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0292       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .96052       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=   5704.739     FROM MIGRAD    STATUS=CONVERGED    422 CALLS     2214 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0608        10.707        .69302E-06    .11157E-03
   2  Prefactor     3.9607        3.9328       -.36493E-07   -.99035E-04
   3  norm          .10000E-03    12.798        .83285E-06** at limit **
   4  norm          11.790        8.0934        .15903E-06    .39143E-04
   5  Prefactor     8.4743        22.907       -.18547E-06   -.73243E-04
   6  norm          7.3996        10.394        .18830E-06   -.31000E-04
   7  norm          1.2786        2.9369        .37580E-06   -.15850E-03
   8  Prefactor     5.2513        8.2348        .59285E-06    .43198E-04
   9  Prefactor     .10000E-03    4.8655       -.17093E-06** at limit **
  10  Prefactor     .48435        8.7156        .23379E-05   -.51581E-03
  11  norm          .84687        6.8958        .32787E-05   -.83724E-04
  12  Prefactor     .10000E-03    7.0025       -.13403E-05** at limit **
  13  Prefactor     21.896        41.753        .20333E-05    .12433E-03
  14  Prefactor     .10000E-03    13.796       -.85165E-06** at limit **
  15  Prefactor     .10000E-03    9.9300        .76257E-06** at limit **
  16  Prefactor     .10000E-03    9.6544        .33026E-06** at limit **
  17  Prefactor     .10000E-03    5.8559        .85107E-06** at limit **
  18  norm          .10000E-03    3.5403        .34178E-07** at limit **
  19  norm          20.702        6.8869        .44714E-07   -.80868E-05
  20  Normalizat    1.0293        .21864       -.12416E-05   -.18909E-03
  21  Prefactor     .96044        .12605       -.15360E-06   -.26095E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.06078
  Prefactor  = 3.96069
  norm       = 0.000100001
  norm       = 11.7904
  Prefactor  = 8.47429
  norm       = 7.39965
  norm       = 1.27857
  Prefactor  = 5.25126
  Prefactor  = 0.0001
  Prefactor  = 0.48435
  norm       = 0.846869
  Prefactor  = 0.000100002
  Prefactor  = 21.896
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 20.7018
  Normalizat = 1.02933
  Prefactor  = 0.96044
 **********
 **   18 **HESSE 
 **********

 FCN=   5704.739     FROM HESSE     STATUS=OK           319 CALLS     2533 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0608        10.721        .16312E-03   -1.5216    
   2  Prefactor     3.9607        3.9358        .14494E-03   -1.5310    
   3  norm          .10000E-03    12.958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          11.790        8.0912        .11667E-03   -1.5021    
   5  Prefactor     8.4743        22.959        .13770E-03   -1.5126    
   6  norm          7.3996        10.325        .14744E-03   -1.5164    
   7  norm          1.2786        2.8770        .18502E-03   -1.5482    
   8  Prefactor     5.2513        8.2525        .17541E-03   -1.5250    
   9  Prefactor     .10000E-03    4.8786        .16280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .48435        23.841        .37403E-02   -1.5569    
  11  norm          .84687        7.6003        .39255E-03   -1.5524    
  12  Prefactor     .10000E-03    7.4449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.896        42.349        .85608E-04   -1.4772    
  14  Prefactor     .10000E-03    13.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.6850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.0416        .18117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.5825        .13879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          20.702        6.8909        .88030E-04   -1.4798    
  20  Normalizat    1.0293        .25259        .30830E-03   -.92054    
  21  Prefactor     .96044        .14776        .18680E-03   -.94060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50095e-09
Minuit parameter uncertainties:
  1  10.7245
  2  3.93608
  3  0.000188146
  4  8.09194
  5  22.983
  6  10.3276
  7  2.87727
  8  8.25426
  9  2.61183e-05
  10  6.79851
  11  5.07458
  12  0.000240957
  13  42.4076
  14  0.00021021
  15  0.000165092
  16  6.94651e-05
  17  0.000138095
  18  4.59918e-06
  19  6.89113
  20  0.252887
  21  0.147825
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  9.604e-01  1.478e-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.029e+00  2.529e-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: 7.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/928641/likelihoodResults_373852801_374112001_4FGL_J0900.7-1243_daily_bin519.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) = 5704.73956639
delta logL = -0.000975005191322

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5704.73859138
delta logL = 1.69256964e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2603       1.0000          .0000       10.000    
     3 'Normalizat'    1.0292       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96049       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=   5704.739     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      240 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10153E-03    61.824        .16489E-02** at limit **
   2  Index         2.1953        5.8386        .50000        .25632E-04
   3  Normalizat    1.0293        .19771E-01    .30830E-03    .14012E-04
   4  Prefactor     .96044        .11686E-01    .18680E-03    .26717E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101531
  Index      = 2.19525
  Normalizat = 1.02933
  Prefactor  = 0.96044
 **********
 **   18 **HESSE 
 **********

 FCN=   5704.739     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      269 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10153E-03    256.37        .32977E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1953        8.8621        .50000       -.59553    
   3  Normalizat    1.0293        .42249E-01    .12332E-04   -.92054    
   4  Prefactor     .96044        .24971E-01    .74722E-05   -.94060    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.90611e-08
Minuit parameter uncertainties:
  1  0.0397919
  2  641.968
  3  0.0422506
  4  0.0249714
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/928641': 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) = 5704.73859097
delta logL = 4.1667590267e-07

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  1.015e-04  3.979e-02  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.195e+00  6.420e+02  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  1.364e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  9.604e-01  2.497e-02  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.029e+00  4.225e-02  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/928641/cmap_HighResolution_373852801_374112001_4FGL_J0900.7-1243_daily_bin519.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.41e-03', job_status='DONE', photon_flux_upper_limit='7.06e-08', time_completed='2021-08-30 20:43:39.713856', job_id='928641', GAL2='0.96', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1630381419.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='4.17e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='519' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:43:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 928641: <4FGL_J0900.7-1243_daily_bin519> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin519 135.175 -12.7201 373852801 374112001 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 :                                   600.51 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            771 sec.

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

