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


Performing analysis on: 4FGL_J1552.0+0850_daily_bin1598
RA = 238.01, Dec = 8.8419
tmin = 653529601, tmax = 653788801
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='727930', job_status='RUN', time_executed='2021-09-20 00:38:07.785026', time_epoch_executed='1632123487.79' WHERE source_name='4FGL J1552.0+0850' and cadence='daily' and bin_id='1598'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/727930

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/727930/ft1_4FGL_J1552.0+0850_daily_bin1598.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/727930/ft2_4FGL_J1552.0+0850_daily_bin1598.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/727930/ft1_4FGL_J1552.0+0850_daily_bin1598.fits outfile=/scratch/kocevski/727930/ft1_filteredMKT_4FGL_J1552.0+0850_daily_bin1598.fits ra=238.01 dec=8.8419 rad=12.0 tmin=653529601.0 tmax=653788801.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.10
user 4.86
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/727930/ft1_filtered_4FGL_J1552.0+0850_daily_bin1598.fits" evtable="EVENTS" scfile=/scratch/kocevski/727930/ft2_4FGL_J1552.0+0850_daily_bin1598.fits sctable="SC_DATA" outfile=/scratch/kocevski/727930/ltcube_653529601_653788801_4FGL_J1552.0+0850_daily_bin1598.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/727930/ft2_4FGL_J1552.0+0850_daily_bin1598.fits
.....................!
real 11.33
user 10.99
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/727930/ft1_filtered_4FGL_J1552.0+0850_daily_bin1598.fits evtable="EVENTS" scfile=/scratch/kocevski/727930/ft2_4FGL_J1552.0+0850_daily_bin1598.fits sctable="SC_DATA" expcube=/scratch/kocevski/727930/ltcube_653529601_653788801_4FGL_J1552.0+0850_daily_bin1598.fits outfile=/scratch/kocevski/727930/expmap_653529601_653788801_4FGL_J1552.0+0850_daily_bin1598.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/727930/ltcube_653529601_653788801_4FGL_J1552.0+0850_daily_bin1598.fits
.....................!
real 190.53
user 185.20
sys 4.52

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/727930/ft1_filtered_4FGL_J1552.0+0850_daily_bin1598.fits scfile=/scratch/kocevski/727930/ft2_4FGL_J1552.0+0850_daily_bin1598.fits outfile=/scratch/kocevski/727930/cmap_653529601_653788801_4FGL_J1552.0+0850_daily_bin1598.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/727930/ft1_filtered_4FGL_J1552.0+0850_daily_bin1598.fits scfile=/scratch/kocevski/727930/ft2_4FGL_J1552.0+0850_daily_bin1598.fits outfile=/scratch/kocevski/727930/cmap_HighResolution_653529601_653788801_4FGL_J1552.0+0850_daily_bin1598.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/727930/ft1_filtered_4FGL_J1552.0+0850_daily_bin1598.fits', '/scratch/kocevski/727930/ft2_4FGL_J1552.0+0850_daily_bin1598.fits', expMap='/scratch/kocevski/727930/expmap_653529601_653788801_4FGL_J1552.0+0850_daily_bin1598.fits', expCube='/scratch/kocevski/727930/ltcube_653529601_653788801_4FGL_J1552.0+0850_daily_bin1598.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/727930/Model_4FGL_J1552.0+0850_daily_bin1598.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/727930/ft1_filtered_4FGL_J1552.0+0850_daily_bin1598.fits
Spacecraft file(s): /scratch/kocevski/727930/ft2_4FGL_J1552.0+0850_daily_bin1598.fits
Exposure map: /scratch/kocevski/727930/expmap_653529601_653788801_4FGL_J1552.0+0850_daily_bin1598.fits
Exposure cube: /scratch/kocevski/727930/ltcube_653529601_653788801_4FGL_J1552.0+0850_daily_bin1598.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/727930/Model_4FGL_J1552.0+0850_daily_bin1598.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) = 7168.22747158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .51268       1.0000         .10000E-03   10000.    
     2 'norm      '    5.7903       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.497       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    41.913       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.8840       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .17760       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10596E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .14276E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.5140       1.0000         .10000E-03   10000.    
    13 'norm      '    10.148       1.0000         .10000E-03   10000.    
    14 'norm      '    9.1390       1.0000         .10000E-03   10000.    
    15 'norm      '    45.639       1.0000         .10000E-03   10000.    
    16 'norm      '    .10205E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    53.348       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .16369E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.973       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.5115       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.6254       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77728       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.

 FCN=   7168.223     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2441 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .51278        .36080        .88476E-02    .21598E-02
   2  norm          5.7909        5.7167        .41727E-02    .35907E-02
   3  Prefactor     .10001E-03    37.825        .90712E-02** at limit **
   4  Prefactor     18.497        40.370        .23282E-02    .74321E-05
   5  Prefactor     .10000E-03    4.8686        .90712E-02** at limit **
   6  Prefactor     41.902        38.718        .15480E-02   -.15525E-02
   7  Prefactor     .10000E-03    28.655        .90712E-02** at limit **
   8  norm          2.8838        2.6725        .59829E-02   -.25862E-03
   9  Prefactor     .17684        1.8341        .59992E-01    .31426E-03
  10  Prefactor     .10000E-03    34.132        .90712E-02** at limit **
  11  norm          .10000E-03    2.5115        .42676E-01** at limit **
  12  Prefactor     4.5221        253.24        .47373E-02   -.12058E-03
  13  norm          10.151        12.399        .31446E-02    .64071E-04
  14  norm          9.1387        2.9026        .33144E-02   -.70075E-03
  15  norm          45.638        20.974        .14837E-02   -.32181E-03
  16  norm          .10000E-03    59.524        .90712E-02** at limit **
  17  Prefactor     53.350        64.593        .13728E-02   -.21357E-04
  18  Prefactor     .10004E-03    34.883        .13693    ** at limit **
  19  Prefactor     13.964        12.417        .26788E-02    .92980E-04
  20  Prefactor     3.5118        5.6192        .53936E-02    .33472E-03
  21  Normalizat    1.6250        .28308        .78016E-01    .26885E-03
  22  Prefactor     .77734        .11298        .43421E-01    .34812E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.512778
  norm       = 5.79089
  Prefactor  = 0.000100013
  Prefactor  = 18.4971
  Prefactor  = 0.0001
  Prefactor  = 41.9021
  Prefactor  = 0.000100001
  norm       = 2.88379
  Prefactor  = 0.176842
  Prefactor  = 0.000100002
  norm       = 0.000100001
  Prefactor  = 4.52215
  norm       = 10.1508
  norm       = 9.13872
  norm       = 45.6382
  norm       = 0.0001
  Prefactor  = 53.3498
  Prefactor  = 0.000100043
  Prefactor  = 13.9638
  Prefactor  = 3.51181
  Normalizat = 1.62505
  Prefactor  = 0.777338
 **********
 **   18 **HESSE 
 **********

 FCN=   7168.223     FROM HESSE     STATUS=OK           354 CALLS     2795 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .51278        .34979        .40511E-03   -1.5565    
   2  norm          5.7909        5.7208        .16691E-03   -1.5227    
   3  Prefactor     .10001E-03    37.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     18.497        40.699        .93127E-04   -1.4848    
   5  Prefactor     .10000E-03    4.9742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     41.902        38.797        .61919E-04   -1.4412    
   7  Prefactor     .10000E-03    28.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.8838        2.6708        .12733E-03   -1.5368    
   9  Prefactor     .17684        9.1440        .21925E-02   -1.5624    
  10  Prefactor     .10000E-03    34.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    13.938        .25932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.5221        252.59        .18949E-03   -1.5283    
  13  norm          10.151        12.399        .12578E-03   -1.5071    
  14  norm          9.1387        2.9011        .76768E-04   -1.5103    
  15  norm          45.638        20.993        .59349E-04   -1.4356    
  16  norm          .10000E-03    59.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     53.350        64.630        .54914E-04   -1.4246    
  18  Prefactor     .10004E-03    34.500        .13804       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     13.964        12.406        .10715E-03   -1.4960    
  20  Prefactor     3.5118        5.6050        .21574E-03   -1.5333    
  21  Normalizat    1.6250        .34550        .34525E-03   -.74323    
  22  Prefactor     .77734        .13794        .19882E-03   -1.0057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00832e-08
Minuit parameter uncertainties:
  1  0.349792
  2  5.72135
  3  0.00139912
  4  40.7598
  5  8.34032e-05
  6  38.8207
  7  0.000313515
  8  2.67088
  9  2.54295
  10  0.000574516
  11  0.000191439
  12  67.8967
  13  12.402
  14  2.90113
  15  20.9968
  16  0.000159798
  17  64.7149
  18  0.00243548
  19  12.4085
  20  5.60585
  21  0.34601
  22  0.138002
Done.

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

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  4.522e+00  6.790e+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:  7.773e-01  1.380e-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:  1.625e+00  3.460e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 238.010 8.842
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/727930/likelihoodResults_653529601_653788801_4FGL_J1552.0+0850_daily_bin1598.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) = 7168.14146525
delta logL = 0.0818452197536

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7168.13185899
delta logL = 0.0914514765182

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0882       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8201       1.0000          .0000       10.000    
     3 'Normalizat'    1.6002       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78201       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=   7168.132     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      272 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0826        260.99        .14098E-03   -.26806E-03
   2  Index         2.8218        6.4020        .11096E-01   -.10943E-03
   3  Normalizat    1.6003        .33189        .34731E-03    .28697E-03
   4  Prefactor     .78198        .13710        .19823E-03    .60456E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.08264
  Index      = 2.82175
  Normalizat = 1.60034
  Prefactor  = 0.781979
 **********
 **   18 **HESSE 
 **********

 FCN=   7168.132     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0826        36.106        .56390E-05   -1.5139    
   2  Index         2.8218        1.6833        .44385E-03   -.45076    
   3  Normalizat    1.6003        .32702        .69462E-04   -.74996    
   4  Prefactor     .78198        .13503        .39646E-04   -1.0040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18868e-09
Minuit parameter uncertainties:
  1  34.2002
  2  1.72528
  3  0.327453
  4  0.135082
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/727930': 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) = 7168.13185738
delta logL = 0.0914530823202

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  8.083e+00  3.420e+01  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  2.822e+00  1.725e+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:  7.820e-01  1.351e-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:  1.600e+00  3.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/727930/cmap_HighResolution_653529601_653788801_4FGL_J1552.0+0850_daily_bin1598.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.65e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-09-20 00:48:43.402974', job_id='727930', GAL2='0.78', fit_tolerance='1e-08', EG2='1.60', EG='1.63', time_epoch_completed='1632124123.4', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='9.15e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='1598' AND source_name='4FGL J1552.0+0850' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 20 00:48:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 727930: <4FGL_J1552.0+0850_daily_bin1598> in cluster <slac> Done

Job <4FGL_J1552.0+0850_daily_bin1598> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Sep 20 00:35:19 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 20 00:35:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 20 00:35:21 2021
Terminated at Mon Sep 20 00:48:44 2021
Results reported at Mon Sep 20 00:48:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1552.0+0850_daily_bin1598 238.01 8.8419 653529601 653788801 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 :                                   637.52 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            805 sec.

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

