/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 0 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 = 7435
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0900.7-1243_daily_bin313
RA = 135.175, Dec = -12.7201
tmin = 320457601, tmax = 320716801
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='927431', job_status='RUN', time_executed='2021-08-30 20:26:14.356412', time_epoch_executed='1630380374.36' WHERE source_name='4FGL J0900.7-1243' and cadence='daily' and bin_id='313'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/927431

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/927431/ft1_4FGL_J0900.7-1243_daily_bin313.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/927431/ft2_4FGL_J0900.7-1243_daily_bin313.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/927431/ft1_4FGL_J0900.7-1243_daily_bin313.fits outfile=/scratch/kocevski/927431/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin313.fits ra=135.175 dec=-12.7201 rad=12.0 tmin=320457601.0 tmax=320716801.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.65
user 3.53
sys 1.89

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/927431/ft2_4FGL_J0900.7-1243_daily_bin313.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/927431/ft1_filteredMKT_4FGL_J0900.7-1243_daily_bin313.fits evtable="EVENTS" outfile="/scratch/kocevski/927431/ft1_filtered_4FGL_J0900.7-1243_daily_bin313.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.75
user 0.33
sys 2.01

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/927431/ft1_filtered_4FGL_J0900.7-1243_daily_bin313.fits" evtable="EVENTS" scfile=/scratch/kocevski/927431/ft2_4FGL_J0900.7-1243_daily_bin313.fits sctable="SC_DATA" outfile=/scratch/kocevski/927431/ltcube_320457601_320716801_4FGL_J0900.7-1243_daily_bin313.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/927431/ft2_4FGL_J0900.7-1243_daily_bin313.fits
.....................!
real 13.87
user 11.31
sys 2.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/927431/ft1_filtered_4FGL_J0900.7-1243_daily_bin313.fits evtable="EVENTS" scfile=/scratch/kocevski/927431/ft2_4FGL_J0900.7-1243_daily_bin313.fits sctable="SC_DATA" expcube=/scratch/kocevski/927431/ltcube_320457601_320716801_4FGL_J0900.7-1243_daily_bin313.fits outfile=/scratch/kocevski/927431/expmap_320457601_320716801_4FGL_J0900.7-1243_daily_bin313.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/927431/ltcube_320457601_320716801_4FGL_J0900.7-1243_daily_bin313.fits
.....................!
real 192.73
user 184.96
sys 7.20

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/927431/ft1_filtered_4FGL_J0900.7-1243_daily_bin313.fits scfile=/scratch/kocevski/927431/ft2_4FGL_J0900.7-1243_daily_bin313.fits outfile=/scratch/kocevski/927431/cmap_320457601_320716801_4FGL_J0900.7-1243_daily_bin313.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.27
user 0.38
sys 1.78

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/927431/ft1_filtered_4FGL_J0900.7-1243_daily_bin313.fits scfile=/scratch/kocevski/927431/ft2_4FGL_J0900.7-1243_daily_bin313.fits outfile=/scratch/kocevski/927431/cmap_HighResolution_320457601_320716801_4FGL_J0900.7-1243_daily_bin313.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.56
user 0.39
sys 1.96

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/927431/ft1_filtered_4FGL_J0900.7-1243_daily_bin313.fits evtable="EVENTS" scfile=/scratch/kocevski/927431/ft2_4FGL_J0900.7-1243_daily_bin313.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/927431/Model_4FGL_J0900.7-1243_daily_bin313.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/927431/ft1_filtered_4FGL_J0900.7-1243_daily_bin313.fits.....................!
real 83.44
user 77.94
sys 3.63

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9959       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    13.371       1.0000         .10000E-03   10000.    
     4 'norm      '    10.053       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    10.073       1.0000         .10000E-03   10000.    
     7 'norm      '    .84646       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4895       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.9271       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    54.911       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .29296E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.2325       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.972       1.0000         .10000E-03   10000.    
    18 'norm      '    .10203E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .92469       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0068       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=   7150.807     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2218 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9969        7.8882        .22510E-05   -.19029E-03
   2  Prefactor     .10000E-03    1.1775       -.19614E-08** at limit **
   3  norm          13.373        15.067       -.14945E-06    .83671E-05
   4  norm          10.055        7.4887        .15155E-06   -.77674E-04
   5  Prefactor     .10000E-03    17.048        .46303E-06** at limit **
   6  norm          10.075        8.1039       -.17615E-06   -.20166E-03
   7  norm          .84503        2.1675        .12628E-05    .56343E-03
   8  Prefactor     1.4911        5.1657        .22140E-05   -.15624E-03
   9  Prefactor     6.9320        13.325       -.31171E-06   -.11596E-03
  10  Prefactor     .10000E-03    2.3225        .89870E-08** at limit **
  11  norm          .10003E-03    4.1651       -.10096E-05** at limit **
  12  Prefactor     .10000E-03    7.1395       -.35718E-07** at limit **
  13  Prefactor     54.919        37.896        .66151E-06    .10098E-03
  14  Prefactor     .10000E-03    14.512       -.53264E-07** at limit **
  15  Prefactor     .10003E-03    109.79       -.63541E-05** at limit **
  16  Prefactor     6.2366        37.759        .17405E-05    .23810E-04
  17  Prefactor     14.973        12.576        .14268E-06   -.83223E-05
  18  norm          .10000E-03    8.4984        .83153E-06** at limit **
  19  norm          .10001E-03    2.7252       -.52313E-06** at limit **
  20  Normalizat    .92461        .18458       -.18963E-05    .39027E-04
  21  Prefactor     1.0068        .10820       -.34154E-06   -.14390E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.99686
  Prefactor  = 0.0001
  norm       = 13.3727
  norm       = 10.0549
  Prefactor  = 0.0001
  norm       = 10.0751
  norm       = 0.845029
  Prefactor  = 1.49109
  Prefactor  = 6.93197
  Prefactor  = 0.0001
  norm       = 0.000100033
  Prefactor  = 0.0001
  Prefactor  = 54.9189
  Prefactor  = 0.0001
  Prefactor  = 0.000100028
  Prefactor  = 6.23658
  Prefactor  = 14.9727
  norm       = 0.0001
  norm       = 0.000100012
  Normalizat = 0.924609
  Prefactor  = 1.00676
 **********
 **   18 **HESSE 
 **********

 FCN=   7150.807     FROM HESSE     STATUS=OK           321 CALLS     2539 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9969        7.7821        .81990E-03   -1.5218    
   2  Prefactor     .10000E-03    1.1793        .89610E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          13.373        15.066        .10954E-03   -1.4976    
   4  norm          10.055        7.4752        .12638E-03   -1.5074    
   5  Prefactor     .10000E-03    17.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          10.075        8.0365        .12625E-03   -1.5073    
   7  norm          .84503        2.0219        .19523E-02   -1.5524    
   8  Prefactor     1.4911        5.1680        .33416E-03   -1.5464    
   9  Prefactor     6.9320        13.107        .15243E-03   -1.5181    
  10  Prefactor     .10000E-03    2.3275        .12584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10003E-03    13.562        .32504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.1634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     54.919        37.938        .54131E-04   -1.4224    
  14  Prefactor     .10000E-03    14.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10003E-03    113.67        .42800E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.2366        37.359        .16080E-03   -1.5208    
  17  Prefactor     14.973        12.569        .10351E-03   -1.4934    
  18  norm          .10000E-03    8.7514        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10001E-03    9.6466        .26839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .92461        .20922        .31160E-03   -.95601    
  21  Prefactor     1.0068        .12442        .17841E-03   -.92504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35497e-09
Minuit parameter uncertainties:
  1  7.78344
  2  2.34423e-07
  3  15.0702
  4  7.47588
  5  0.000180895
  6  8.03735
  7  2.02202
  8  5.16953
  9  13.1126
  10  2.16151e-06
  11  0.0013358
  12  3.58371e-07
  13  37.9547
  14  1.13975e-05
  15  0.00359693
  16  30.5567
  17  12.5715
  18  5.98228e-05
  19  0.000680205
  20  0.209407
  21  0.124455
Done.

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

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  6.932e+00  1.311e+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.007e+00  1.245e-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:  9.246e-01  2.094e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.34
Ra Dec: 135.175 -12.720
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/927431/likelihoodResults_320457601_320716801_4FGL_J0900.7-1243_daily_bin313.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) = 7150.66338971
delta logL = 0.143824230141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7150.66279817
delta logL = 0.14441576739

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0901       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9044       1.0000          .0000       10.000    
     3 'Normalizat'    .90051       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0140       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=   7150.663     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      276 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0828        149.75        .49836E-02    .61672E-03
   2  Index         2.9059        3.6282        .14036        .15217E-03
   3  Normalizat    .90052        .56027E-01    .71258E-01    .39231E-06
   4  Prefactor     1.0140        .31477E-01    .42799E-01   -.37975E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.08279
  Index      = 2.90588
  Normalizat = 0.900519
  Prefactor  = 1.014
 **********
 **   18 **HESSE 
 **********

 FCN=   7150.663     FROM HESSE     STATUS=OK            31 CALLS      307 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0828        23.639        .19934E-03   -1.5304    
   2  Index         2.9059        2.2968        .80163E-02   -.43215    
   3  Normalizat    .90052        .21439        .31529E-03   -.96442    
   4  Prefactor     1.0140        .12492        .17783E-03   -.92264    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76493e-10
Minuit parameter uncertainties:
  1  19.6599
  2  2.40812
  3  0.214594
  4  0.124959
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/927431': 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) = 7150.66279713
delta logL = 0.144416813366

Extracting fit parameters...

4FGL J0900.7-1243
   Spectrum: PowerLaw
296    Prefactor:  4.083e+00  1.966e+01  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.906e+00  2.408e+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.014e+00  1.250e-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:  9.005e-01  2.146e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/927431/cmap_HighResolution_320457601_320716801_4FGL_J0900.7-1243_daily_bin313.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.31e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2021-08-30 20:37:35.539528', job_id='927431', GAL2='1.01', fit_tolerance='1e-08', EG2='0.90', EG='0.92', time_epoch_completed='1630381055.54', return_code2='0', ts='0.34', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.44e-01', ts2='0.65', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='313' AND source_name='4FGL J0900.7-1243' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 20:37:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 927431: <4FGL_J0900.7-1243_daily_bin313> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0900.7-1243_daily_bin313 135.175 -12.7201 320457601 320716801 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 :                                   702.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            721 sec.

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

