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


Performing analysis on: 4FGL_J1552.0+0850_daily_bin182
RA = 238.01, Dec = 8.8419
tmin = 286502401, tmax = 286761601
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='749936', job_status='RUN', time_executed='2021-09-12 15:39:35.846847', time_epoch_executed='1631486375.85' WHERE source_name='4FGL J1552.0+0850' and cadence='daily' and bin_id='182'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/749936

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/749936/ft1_4FGL_J1552.0+0850_daily_bin182.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/749936/ft2_4FGL_J1552.0+0850_daily_bin182.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/749936/ft1_4FGL_J1552.0+0850_daily_bin182.fits outfile=/scratch/kocevski/749936/ft1_filteredMKT_4FGL_J1552.0+0850_daily_bin182.fits ra=238.01 dec=8.8419 rad=12.0 tmin=286502401.0 tmax=286761601.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 4.56
user 4.32
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/749936/ft2_4FGL_J1552.0+0850_daily_bin182.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/749936/ft1_filteredMKT_4FGL_J1552.0+0850_daily_bin182.fits evtable="EVENTS" outfile="/scratch/kocevski/749936/ft1_filtered_4FGL_J1552.0+0850_daily_bin182.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.33
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/749936/ft1_filtered_4FGL_J1552.0+0850_daily_bin182.fits evtable="EVENTS" scfile=/scratch/kocevski/749936/ft2_4FGL_J1552.0+0850_daily_bin182.fits sctable="SC_DATA" expcube=/scratch/kocevski/749936/ltcube_286502401_286761601_4FGL_J1552.0+0850_daily_bin182.fits outfile=/scratch/kocevski/749936/expmap_286502401_286761601_4FGL_J1552.0+0850_daily_bin182.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/749936/ltcube_286502401_286761601_4FGL_J1552.0+0850_daily_bin182.fits
.....................!
real 192.33
user 187.77
sys 4.01

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/749936/ft1_filtered_4FGL_J1552.0+0850_daily_bin182.fits scfile=/scratch/kocevski/749936/ft2_4FGL_J1552.0+0850_daily_bin182.fits outfile=/scratch/kocevski/749936/cmap_286502401_286761601_4FGL_J1552.0+0850_daily_bin182.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.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/749936/ft1_filtered_4FGL_J1552.0+0850_daily_bin182.fits scfile=/scratch/kocevski/749936/ft2_4FGL_J1552.0+0850_daily_bin182.fits outfile=/scratch/kocevski/749936/cmap_HighResolution_286502401_286761601_4FGL_J1552.0+0850_daily_bin182.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.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .58718       1.0000         .10000E-03   10000.    
     2 'norm      '    2.4217       1.0000         .10000E-03   10000.    
     3 'Prefactor '    36.521       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.161       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.0315       1.0000         .10000E-03   10000.    
     6 'Prefactor '    33.604       1.0000         .10000E-03   10000.    
     7 'Prefactor '    31.589       1.0000         .10000E-03   10000.    
     8 'norm      '    2.7342       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.1168       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    16.811       1.0000         .10000E-03   10000.    
    14 'norm      '    3.1682       1.0000         .10000E-03   10000.    
    15 'norm      '    6.0771       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    121.15       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.684       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .17869E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .88388       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2512       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=   8298.187     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2402 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58722        .26970        .96887E-08   -.14160E-04
   2  norm          2.4218        6.7505       -.28615E-06   -.38138E-04
   3  Prefactor     36.518        50.319       -.19271E-05   -.12167E-05
   4  Prefactor     15.169        34.024        .21803E-05   -.14624E-06
   5  Prefactor     2.0315        1.5917        .33611E-06   -.24037E-02
   6  Prefactor     33.615        39.826        .53697E-05    .10807E-04
   7  Prefactor     31.587        31.027        .23559E-06    .82825E-05
   8  norm          2.7344        2.7561       -.85570E-07   -.71195E-04
   9  Prefactor     5.1163        4.4343        .16337E-07   -.12443E-04
  10  Prefactor     .10000E-03    17.048        .14874E-06** at limit **
  11  norm          .10000E-03    2.2527       -.20362E-06** at limit **
  12  Prefactor     .10000E-03    12.379        .24300E-06** at limit **
  13  norm          16.812        10.295       -.15227E-06   -.53236E-05
  14  norm          3.1682        1.5116       -.16413E-08    .28189E-04
  15  norm          6.0774        8.4213       -.34743E-07   -.94980E-04
  16  norm          .10000E-03    189.79        .20152E-05** at limit **
  17  Prefactor     121.12        101.31       -.23719E-04   -.28839E-04
  18  Prefactor     10.691        44.275        .98040E-05    .32238E-05
  19  Prefactor     .10000E-03    14.325       -.81943E-08** at limit **
  20  Prefactor     .10000E-03    3.1995        .27622E-06** at limit **
  21  Normalizat    .88351        .28669       -.21659E-05    .22203E-04
  22  Prefactor     1.2514        .12270        .76807E-06   -.15075E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.587224
  norm       = 2.42175
  Prefactor  = 36.5181
  Prefactor  = 15.1692
  Prefactor  = 2.03148
  Prefactor  = 33.6151
  Prefactor  = 31.5868
  norm       = 2.73439
  Prefactor  = 5.11625
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 16.812
  norm       = 3.16821
  norm       = 6.07739
  norm       = 0.0001
  Prefactor  = 121.121
  Prefactor  = 10.691
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.883506
  Prefactor  = 1.25139
 **********
 **   18 **HESSE 
 **********

 FCN=   8298.187     FROM HESSE     STATUS=OK           352 CALLS     2754 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58722        .26988        .30853E-04   -1.5555    
   2  norm          2.4218        6.7333        .26301E-03   -1.5397    
   3  Prefactor     36.518        50.344        .66317E-04   -1.4499    
   4  Prefactor     15.169        34.221        .10286E-03   -1.4929    
   5  Prefactor     2.0315        5.2003        .14512E-02   -1.5423    
   6  Prefactor     33.615        39.931        .69126E-04   -1.4548    
   7  Prefactor     31.587        31.026        .71291E-04   -1.4583    
   8  norm          2.7344        2.7429        .14475E-03   -1.5377    
   9  Prefactor     5.1163        4.4347        .17033E-03   -1.5256    
  10  Prefactor     .10000E-03    17.069        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.3113        .26680E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          16.812        10.298        .97684E-04   -1.4888    
  14  norm          3.1682        1.5141        .75156E-04   -1.5352    
  15  norm          6.0774        8.4279        .81433E-03   -1.5215    
  16  norm          .10000E-03    190.61        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     121.12        101.52        .18281E-03   -1.3502    
  18  Prefactor     10.691        44.067        .12258E-03   -1.5054    
  19  Prefactor     .10000E-03    14.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.8232        .31564E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .88351        .32014        .45710E-03   -.97042    
  22  Prefactor     1.2514        .13794        .17753E-03   -.84764    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.60346e-09
Minuit parameter uncertainties:
  1  0.269879
  2  6.73537
  3  50.403
  4  34.2648
  5  5.20142
  6  39.9623
  7  31.0415
  8  2.74301
  9  4.43495
  10  4.7898e-05
  11  4.25813e-07
  12  1.36326e-06
  13  10.299
  14  1.51414
  15  8.42952
  16  3.38059e-05
  17  101.668
  18  43.4655
  19  0.000115242
  20  2.94205e-05
  21  0.320826
  22  0.137978
Done.

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

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  1.363e-06  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.251e+00  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:  8.835e-01  3.208e-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: 3.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/749936/likelihoodResults_286502401_286761601_4FGL_J1552.0+0850_daily_bin182.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) = 8298.18690498
delta logL = -0.000377396858312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8298.18652758
delta logL = 6.25186657999e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10328E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0292       1.0000          .0000       10.000    
     3 'Normalizat'    .88347       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2514       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=   8298.187     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      242 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10223E-03    102.63        .18142E-02** at limit **
   2  Index         1.9619        5.0490        .50000        .16348E-04
   3  Normalizat    .88350        .17717E-01    .45710E-03   -.26214E-04
   4  Prefactor     1.2514        .80948E-02    .17753E-03    .16650E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010223
  Index      = 1.96191
  Normalizat = 0.883503
  Prefactor  = 1.25139
 **********
 **   18 **HESSE 
 **********

 FCN=   8298.187     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10223E-03    429.04        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9619        8.9960        .50000       -.65306    
   3  Normalizat    .88350        .37404E-01    .18284E-04   -.97042    
   4  Prefactor     1.2514        .17089E-01    .71010E-05   -.84764    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.75074e-08
Minuit parameter uncertainties:
  1  0.0623194
  2  564.513
  3  0.037405
  4  0.0170894
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/749936': 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) = 8298.18652723
delta logL = 3.56136297341e-07

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  1.022e-04  6.232e-02  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  1.962e+00  5.645e+02  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.251e+00  1.709e-02  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:  8.835e-01  3.740e-02  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/749936/cmap_HighResolution_286502401_286761601_4FGL_J1552.0+0850_daily_bin182.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-03', job_status='DONE', photon_flux_upper_limit='3.95e-08', time_completed='2021-09-12 15:51:17.582917', job_id='749936', GAL2='1.25', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1631487077.58', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='3.56e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='182' AND source_name='4FGL J1552.0+0850' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:51:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 749936: <4FGL_J1552.0+0850_daily_bin182> in cluster <slac> Done

Job <4FGL_J1552.0+0850_daily_bin182> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 15:35:45 2021
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 15:36:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 15:36:58 2021
Terminated at Sun Sep 12 15:51:18 2021
Results reported at Sun Sep 12 15:51:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1552.0+0850_daily_bin182 238.01 8.8419 286502401 286761601 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 :                                   697.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            933 sec.

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

