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


Performing analysis on: 4FGL_J1552.0+0850_daily_bin1574
RA = 238.01, Dec = 8.8419
tmin = 647308801, tmax = 647568001
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='760079', job_status='RUN', time_executed='2021-09-12 16:10:15.541726', time_epoch_executed='1631488215.54' WHERE source_name='4FGL J1552.0+0850' and cadence='daily' and bin_id='1574'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/760079

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/760079/ft1_4FGL_J1552.0+0850_daily_bin1574.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/760079/ft2_4FGL_J1552.0+0850_daily_bin1574.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/760079/ft1_4FGL_J1552.0+0850_daily_bin1574.fits outfile=/scratch/kocevski/760079/ft1_filteredMKT_4FGL_J1552.0+0850_daily_bin1574.fits ra=238.01 dec=8.8419 rad=12.0 tmin=647308801.0 tmax=647568001.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 3.55
user 3.31
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/760079/ft2_4FGL_J1552.0+0850_daily_bin1574.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/760079/ft2_4FGL_J1552.0+0850_daily_bin1574.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/760079/ft1_filteredMKT_4FGL_J1552.0+0850_daily_bin1574.fits evtable="EVENTS" outfile="/scratch/kocevski/760079/ft1_filtered_4FGL_J1552.0+0850_daily_bin1574.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 0.52
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/760079/ft1_filtered_4FGL_J1552.0+0850_daily_bin1574.fits" evtable="EVENTS" scfile=/scratch/kocevski/760079/ft2_4FGL_J1552.0+0850_daily_bin1574.fits sctable="SC_DATA" outfile=/scratch/kocevski/760079/ltcube_647308801_647568001_4FGL_J1552.0+0850_daily_bin1574.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/760079/ft2_4FGL_J1552.0+0850_daily_bin1574.fits
.....................!
real 14.93
user 14.57
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/760079/ft1_filtered_4FGL_J1552.0+0850_daily_bin1574.fits evtable="EVENTS" scfile=/scratch/kocevski/760079/ft2_4FGL_J1552.0+0850_daily_bin1574.fits sctable="SC_DATA" expcube=/scratch/kocevski/760079/ltcube_647308801_647568001_4FGL_J1552.0+0850_daily_bin1574.fits outfile=/scratch/kocevski/760079/expmap_647308801_647568001_4FGL_J1552.0+0850_daily_bin1574.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/760079/ltcube_647308801_647568001_4FGL_J1552.0+0850_daily_bin1574.fits
.....................!
real 193.50
user 187.53
sys 4.73

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 152 point sources and 0 extended sources

Setting source of interest to:
4FGL J1552.0+0850 @ 238.01 8.8419

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/760079/ft1_filtered_4FGL_J1552.0+0850_daily_bin1574.fits scfile=/scratch/kocevski/760079/ft2_4FGL_J1552.0+0850_daily_bin1574.fits outfile=/scratch/kocevski/760079/cmap_647308801_647568001_4FGL_J1552.0+0850_daily_bin1574.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=238.01 yref=8.8419 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 0.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/760079/ft1_filtered_4FGL_J1552.0+0850_daily_bin1574.fits scfile=/scratch/kocevski/760079/ft2_4FGL_J1552.0+0850_daily_bin1574.fits outfile=/scratch/kocevski/760079/cmap_HighResolution_647308801_647568001_4FGL_J1552.0+0850_daily_bin1574.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=238.01 yref=8.8419 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 0.58
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/760079/ft1_filtered_4FGL_J1552.0+0850_daily_bin1574.fits evtable="EVENTS" scfile=/scratch/kocevski/760079/ft2_4FGL_J1552.0+0850_daily_bin1574.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/760079/Model_4FGL_J1552.0+0850_daily_bin1574.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/760079/ft1_filtered_4FGL_J1552.0+0850_daily_bin1574.fits.....................!
real 63.39
user 61.90
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/760079/ft1_filtered_4FGL_J1552.0+0850_daily_bin1574.fits', '/scratch/kocevski/760079/ft2_4FGL_J1552.0+0850_daily_bin1574.fits', expMap='/scratch/kocevski/760079/expmap_647308801_647568001_4FGL_J1552.0+0850_daily_bin1574.fits', expCube='/scratch/kocevski/760079/ltcube_647308801_647568001_4FGL_J1552.0+0850_daily_bin1574.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/760079/Model_4FGL_J1552.0+0850_daily_bin1574.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1552.0+0850'

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  7.420e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  2.059e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  2.194e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/760079/ft1_filtered_4FGL_J1552.0+0850_daily_bin1574.fits
Spacecraft file(s): /scratch/kocevski/760079/ft2_4FGL_J1552.0+0850_daily_bin1574.fits
Exposure map: /scratch/kocevski/760079/expmap_647308801_647568001_4FGL_J1552.0+0850_daily_bin1574.fits
Exposure cube: /scratch/kocevski/760079/ltcube_647308801_647568001_4FGL_J1552.0+0850_daily_bin1574.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/760079/Model_4FGL_J1552.0+0850_daily_bin1574.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) = 8190.83485669

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32715       1.0000         .10000E-03   10000.    
     2 'norm      '    5.8166       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    49.460       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.0967       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.955       1.0000         .10000E-03   10000.    
     8 'norm      '    3.5845       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.966       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.952       1.0000         .10000E-03   10000.    
    13 'norm      '    2.3129       1.0000         .10000E-03   10000.    
    14 'norm      '    5.5257       1.0000         .10000E-03   10000.    
    15 'norm      '    19.336       1.0000         .10000E-03   10000.    
    16 'norm      '    153.38       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.6538       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .96568       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1315       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8190.833     FROM MIGRAD    STATUS=CONVERGED    456 CALLS     2386 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32711        .23322       -.58628E-09   -.89395E-03
   2  norm          5.8167        6.2305       -.49140E-07   -.23349E-04
   3  Prefactor     .10000E-03    16.834        .78958E-05** at limit **
   4  Prefactor     49.457        34.236       -.43851E-05    .14080E-03
   5  Prefactor     2.0967        3.4698       -.85110E-06   -.79520E-03
   6  Prefactor     .10000E-03    8.0068       -.50559E-07** at limit **
   7  Prefactor     16.955        16.365       -.16095E-06    .17576E-04
   8  norm          3.5848        2.5918        .21000E-08   -.12692E-04
   9  Prefactor     .10000E-03    1.0815       -.15118E-06** at limit **
  10  Prefactor     14.966        28.632        .71061E-06   -.14135E-04
  11  norm          .10000E-03    .97425       -.33671E-07** at limit **
  12  Prefactor     17.950        51.124       -.42870E-05    .19404E-04
  13  norm          2.3122        8.8019       -.12173E-05   -.30178E-03
  14  norm          5.5259        2.1348        .38189E-07    .12431E-03
  15  norm          19.336        17.830        .39963E-06   -.29273E-04
  16  norm          153.39        108.02        .19001E-05   -.18274E-04
  17  Prefactor     .10000E-03    19.273       -.59097E-05** at limit **
  18  Prefactor     .10000E-03    13.523       -.35451E-05** at limit **
  19  Prefactor     .10000E-03    3.3647       -.94754E-08** at limit **
  20  Prefactor     9.6541        8.7890       -.19124E-06   -.69476E-04
  21  Normalizat    .96586        .25307        .17645E-05   -.22910E-04
  22  Prefactor     1.1314        .11209       -.18647E-06    .11639E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.32711
  norm       = 5.81665
  Prefactor  = 0.000100001
  Prefactor  = 49.4566
  Prefactor  = 2.09665
  Prefactor  = 0.0001
  Prefactor  = 16.9546
  norm       = 3.58476
  Prefactor  = 0.0001
  Prefactor  = 14.9663
  norm       = 0.0001
  Prefactor  = 17.9503
  norm       = 2.31216
  norm       = 5.52593
  norm       = 19.3362
  norm       = 153.386
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.65407
  Normalizat = 0.965865
  Prefactor  = 1.1314
 **********
 **   18 **HESSE 
 **********

 FCN=   8190.833     FROM HESSE     STATUS=OK           346 CALLS     2732 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32711        .22379        .35498E-03   -1.5594    
   2  norm          5.8167        6.2286        .16652E-03   -1.5226    
   3  Prefactor     .10000E-03    16.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     49.457        34.174        .57020E-04   -1.4300    
   5  Prefactor     2.0967        3.5702        .21568E-03   -1.5418    
   6  Prefactor     .10000E-03    8.0111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.955        16.365        .97268E-04   -1.4884    
   8  norm          3.5848        2.5827        .11797E-03   -1.5329    
   9  Prefactor     .10000E-03    1.0898        .91890E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.966        28.631        .10353E-03   -1.4934    
  11  norm          .10000E-03    .97791        .87227E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.950        51.062        .94528E-04   -1.4860    
  13  norm          2.3122        8.9068        .26977E-03   -1.5404    
  14  norm          5.5259        2.1329        .78692E-04   -1.5238    
  15  norm          19.336        17.822        .91085E-04   -1.4828    
  16  norm          153.39        107.96        .32548E-04   -1.3225    
  17  Prefactor     .10000E-03    19.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.3719        .16210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.6541        8.7969        .12898E-03   -1.5086    
  21  Normalizat    .96586        .29024        .40082E-03   -.94183    
  22  Prefactor     1.1314        .12973        .17394E-03   -.88469    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.16123e-10
Minuit parameter uncertainties:
  1  0.223792
  2  6.22933
  3  0.000238867
  4  34.188
  5  3.57058
  6  2.82446e-06
  7  16.3693
  8  2.5828
  9  1.32039e-06
  10  28.6572
  11  2.20923e-07
  12  51.187
  13  8.91188
  14  2.13293
  15  17.8266
  16  108.099
  17  0.000186059
  18  9.00196e-05
  19  9.53211e-07
  20  8.79807
  21  0.290718
  22  0.129762
Done.

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

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  1.795e+01  5.119e+01  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  2.059e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  2.194e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.131e+00  1.298e-01  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  9.659e-01  2.907e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.15
Ra Dec: 238.010 8.842
Photon Flux Upper Limit: 8.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/760079/likelihoodResults_647308801_647568001_4FGL_J1552.0+0850_daily_bin1574.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) = 8190.82052038
delta logL = 0.012193305969

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8190.81574435
delta logL = 0.016969337822

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.034       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8381       1.0000          .0000       10.000    
     3 'Normalizat'    .96822       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1306       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+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=   8190.816     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      271 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.039        67.037        .81707E-04   -.91637E-04
   2  Index         1.8383        1.1408        .14339E-01   -.80773E-04
   3  Normalizat    .96849        .27168        .40033E-03    .16531E-03
   4  Prefactor     1.1305        .12752        .17400E-03    .43130E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.0394
  Index      = 1.83833
  Normalizat = 0.968491
  Prefactor  = 1.13047
 **********
 **   18 **HESSE 
 **********

 FCN=   8190.816     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.039        64.964        .16341E-04   -1.4727    
   2  Index         1.8383        1.1071        .57354E-03   -.68456    
   3  Normalizat    .96849        .27180        .16013E-04   -.94094    
   4  Prefactor     1.1305        .12758        .34799E-04   -.88499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.07461e-10
Minuit parameter uncertainties:
  1  65.1563
  2  1.12273
  3  0.272184
  4  0.127615
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/760079': 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) = 8190.81574364
delta logL = 0.0169700416973

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  2.404e+01  6.516e+01  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  1.838e+00  1.123e+00  0.000e+00  1.000e+01 (-1.000e+00)
251        Scale:  2.194e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.130e+00  1.276e-01  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  9.685e-01  2.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
Ra Dec: 238.010 8.842

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/760079/cmap_HighResolution_647308801_647568001_4FGL_J1552.0+0850_daily_bin1574.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.91e-08', time_completed='2021-09-12 16:22:01.907624', job_id='760079', GAL2='1.13', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1631488921.91', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='1.70e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1574' AND source_name='4FGL J1552.0+0850' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 16:22:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0293>
Subject: Job 760079: <4FGL_J1552.0+0850_daily_bin1574> in cluster <slac> Done

Job <4FGL_J1552.0+0850_daily_bin1574> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Sep 12 16:05:34 2021
Job was executed on host(s) <bullet0293>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 16:06:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 16:06:10 2021
Terminated at Sun Sep 12 16:22:02 2021
Results reported at Sun Sep 12 16:22:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1552.0+0850_daily_bin1574 238.01 8.8419 647308801 647568001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1552.0+0850 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   700.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   952 sec.
    Turnaround time :                            988 sec.

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

