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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin1245
RA = 238.402, Dec = 12.9524
tmin = 562032001, tmax = 562291201
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='784628', job_status='RUN', time_executed='2021-09-12 17:32:14.778539', time_epoch_executed='1631493134.78' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='1245'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784628

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784628/ft1_4FGL_J1553.6+1257_daily_bin1245.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784628/ft2_4FGL_J1553.6+1257_daily_bin1245.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784628/ft1_4FGL_J1553.6+1257_daily_bin1245.fits outfile=/scratch/kocevski/784628/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1245.fits ra=238.402 dec=12.9524 rad=12.0 tmin=562032001.0 tmax=562291201.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.60
user 3.34
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/784628/ft2_4FGL_J1553.6+1257_daily_bin1245.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/784628/ft2_4FGL_J1553.6+1257_daily_bin1245.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/784628/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin1245.fits evtable="EVENTS" outfile="/scratch/kocevski/784628/ft1_filtered_4FGL_J1553.6+1257_daily_bin1245.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.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/784628/ft1_filtered_4FGL_J1553.6+1257_daily_bin1245.fits" evtable="EVENTS" scfile=/scratch/kocevski/784628/ft2_4FGL_J1553.6+1257_daily_bin1245.fits sctable="SC_DATA" outfile=/scratch/kocevski/784628/ltcube_562032001_562291201_4FGL_J1553.6+1257_daily_bin1245.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/784628/ft2_4FGL_J1553.6+1257_daily_bin1245.fits
.....................!
real 14.35
user 13.94
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784628/ft1_filtered_4FGL_J1553.6+1257_daily_bin1245.fits evtable="EVENTS" scfile=/scratch/kocevski/784628/ft2_4FGL_J1553.6+1257_daily_bin1245.fits sctable="SC_DATA" expcube=/scratch/kocevski/784628/ltcube_562032001_562291201_4FGL_J1553.6+1257_daily_bin1245.fits outfile=/scratch/kocevski/784628/expmap_562032001_562291201_4FGL_J1553.6+1257_daily_bin1245.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/784628/ltcube_562032001_562291201_4FGL_J1553.6+1257_daily_bin1245.fits
.....................!
real 191.29
user 186.17
sys 4.75

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

Setting source of interest to:
4FGL J1553.6+1257 @ 238.402 12.9524

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/784628/ft1_filtered_4FGL_J1553.6+1257_daily_bin1245.fits scfile=/scratch/kocevski/784628/ft2_4FGL_J1553.6+1257_daily_bin1245.fits outfile=/scratch/kocevski/784628/cmap_562032001_562291201_4FGL_J1553.6+1257_daily_bin1245.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.402 yref=12.9524 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.56
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784628/ft1_filtered_4FGL_J1553.6+1257_daily_bin1245.fits scfile=/scratch/kocevski/784628/ft2_4FGL_J1553.6+1257_daily_bin1245.fits outfile=/scratch/kocevski/784628/cmap_HighResolution_562032001_562291201_4FGL_J1553.6+1257_daily_bin1245.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.402 yref=12.9524 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.56
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/784628/ft1_filtered_4FGL_J1553.6+1257_daily_bin1245.fits evtable="EVENTS" scfile=/scratch/kocevski/784628/ft2_4FGL_J1553.6+1257_daily_bin1245.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/784628/Model_4FGL_J1553.6+1257_daily_bin1245.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/784628/ft1_filtered_4FGL_J1553.6+1257_daily_bin1245.fits.....................!
real 62.33
user 60.95
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/784628/ft1_filtered_4FGL_J1553.6+1257_daily_bin1245.fits', '/scratch/kocevski/784628/ft2_4FGL_J1553.6+1257_daily_bin1245.fits', expMap='/scratch/kocevski/784628/expmap_562032001_562291201_4FGL_J1553.6+1257_daily_bin1245.fits', expCube='/scratch/kocevski/784628/ltcube_562032001_562291201_4FGL_J1553.6+1257_daily_bin1245.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/784628/Model_4FGL_J1553.6+1257_daily_bin1245.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1553.6+1257'

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  5.777e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.008e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/784628/ft1_filtered_4FGL_J1553.6+1257_daily_bin1245.fits
Spacecraft file(s): /scratch/kocevski/784628/ft2_4FGL_J1553.6+1257_daily_bin1245.fits
Exposure map: /scratch/kocevski/784628/expmap_562032001_562291201_4FGL_J1553.6+1257_daily_bin1245.fits
Exposure cube: /scratch/kocevski/784628/ltcube_562032001_562291201_4FGL_J1553.6+1257_daily_bin1245.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/784628/Model_4FGL_J1553.6+1257_daily_bin1245.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) = 7776.53904997

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.984       1.0000         .10000E-03   10000.    
     2 'Prefactor '    48.136       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10685E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.5500       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .12109       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    10.245       1.0000         .10000E-03   10000.    
    12 'norm      '    3.6352       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    18.818       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.316       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.4288       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4717       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .73082       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7776.526     FROM MIGRAD    STATUS=CONVERGED    445 CALLS     2246 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.953        41.111       -.34718E-04    .21178E-04
   2  Prefactor     48.104        49.898       -.32436E-04    .22818E-04
   3  Prefactor     .10000E-03    74.630       -.12746E-04** at limit **
   4  Prefactor     .10000E-03    43.153        .12374E-04** at limit **
   5  Prefactor     .10000E-03    35.807       -.28788E-04** at limit **
   6  norm          .10000E-03    1.1485       -.17710E-06** at limit **
   7  Prefactor     2.5505        3.9563       -.61871E-06   -.48389E-03
   8  Prefactor     .10000E-03    9.4814        .21265E-06** at limit **
   9  norm          .10918        1.6797       -.91458E-06    .46118E-03
  10  Prefactor     .10000E-03    22.891        .39563E-05** at limit **
  11  norm          10.244        8.2536       -.77145E-07   -.14207E-04
  12  norm          3.6353        1.6629       -.55886E-07    .18017E-03
  13  Prefactor     .10000E-03    4.6148       -.17622E-07** at limit **
  14  norm          18.817        17.706       -.16207E-05    .35261E-04
  15  norm          .10000E-03    46.320        .25083E-04** at limit **
  16  Prefactor     14.315        13.193       -.12553E-05   -.31519E-05
  17  Prefactor     7.4316        29.255        .22287E-06   -.95476E-05
  18  Prefactor     .10000E-03    2.4695       -.45180E-07** at limit **
  19  Prefactor     .10000E-03    4.1646       -.25986E-07** at limit **
  20  Normalizat    1.4719        .22409        .46752E-05    .86232E-04
  21  Prefactor     .73072        .10336        .79307E-06    .53879E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.9525
  Prefactor  = 48.1044
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.55054
  Prefactor  = 0.0001
  norm       = 0.109184
  Prefactor  = 0.0001
  norm       = 10.2442
  norm       = 3.63533
  Prefactor  = 0.0001
  norm       = 18.8169
  norm       = 0.0001
  Prefactor  = 14.3145
  Prefactor  = 7.43164
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.47192
  Prefactor  = 0.730722
 **********
 **   18 **HESSE 
 **********

 FCN=   7776.526     FROM HESSE     STATUS=OK           315 CALLS     2561 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.953        41.204        .74418E-04   -1.4631    
   2  Prefactor     48.104        49.900        .57796E-04   -1.4320    
   3  Prefactor     .10000E-03    75.448        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    43.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    36.045        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.1724        .92237E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.5505        3.9413        .20970E-03   -1.5389    
   8  Prefactor     .10000E-03    9.4847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10918        13.328        .21990E-02   -1.5642    
  10  Prefactor     .10000E-03    22.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          10.244        8.2493        .12518E-03   -1.5068    
  12  norm          3.6353        1.6627        .74028E-04   -1.5327    
  13  Prefactor     .10000E-03    4.6460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          18.817        17.729        .92330E-04   -1.4840    
  15  norm          .10000E-03    46.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.315        13.230        .10586E-03   -1.4951    
  17  Prefactor     7.4316        29.277        .14715E-03   -1.5163    
  18  Prefactor     .10000E-03    2.4706        .13533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.1847        .17575E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.4719        .27185        .30237E-03   -.78571    
  21  Prefactor     .73072        .12556        .19289E-03   -1.0233    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28826e-09
Minuit parameter uncertainties:
  1  41.2448
  2  49.9438
  3  0.000285139
  4  0.000196205
  5  0.000142673
  6  7.09786e-06
  7  3.94175
  8  1.46451e-05
  9  2.41212
  10  1.5727e-05
  11  8.25023
  12  1.66276
  13  1.78763e-05
  14  17.7343
  15  1.44406e-05
  16  13.2326
  17  29.3339
  18  4.94974e-06
  19  1.37465e-05
  20  0.27212
  21  0.125612
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.024e+01  8.250e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.008e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  7.307e-01  1.256e-01  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.472e+00  2.721e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.55
Ra Dec: 238.402 12.952
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 4.96e-08 +/- 3.99e-08
Energy Flux (Fixed Index): 1.74e-05 +/- 1.40e-05

TS (Fixed Index): 2.55
Ra Dec: 238.402 12.952
Photon Flux Upper Limit: 1.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.78e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/784628/likelihoodResults_562032001_562291201_4FGL_J1553.6+1257_daily_bin1245.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) = 7775.78547773
delta logL = 0.740485037491

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7775.74577715
delta logL = 0.780185608176

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0429       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4314       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5079       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72096       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7775.746     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0396        6.0109        .35344E-02    .50509E-03
   2  alpha         1.4312        .39690        .39502       -.51987E-04
   3  Normalizat    1.5079        .21759        .67677E-01    .22947E-04
   4  Prefactor     .72093        .10226        .42680E-01    .58437E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 8.03956
  alpha      = 1.43121
  Normalizat = 1.50792
  Prefactor  = 0.720934
 **********
 **   18 **HESSE 
 **********

 FCN=   7775.746     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0396        7.9968        .70688E-03   -1.5141    
   2  alpha         1.4312        .60585        .15132E-01   -.44174    
   3  Normalizat    1.5079        .26386        .29938E-03   -.77556    
   4  Prefactor     .72093        .12405        .19400E-03   -1.0271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.27258e-09
Minuit parameter uncertainties:
  1  7.99787
  2  0.613356
  3  0.264103
  4  0.124095
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784628': 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) = 7775.74577705
delta logL = 0.780185715003

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  8.040e+00  7.998e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.431e+00  6.134e-01  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.008e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
520    Prefactor:  7.209e-01  1.241e-01  0.000e+00  1.000e+01 ( 1.000e+00)
521        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
522        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
519   Normalization:  1.508e+00  2.641e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.13
Ra Dec: 238.402 12.952
Photon Index (Free Index): 1.43 +/- 0.61
Photon Flux (Free Index): 2.11e-08 +/- 2.28e-08
Energy Flux (Free Index): 3.52e-05 +/- 3.69e-05

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/784628/cmap_HighResolution_562032001_562291201_4FGL_J1553.6+1257_daily_bin1245.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.78e-05', comment='SUCCESS', photon_flux='4.96e-08', energy_flux2='3.52e-05', photon_flux_error='3.99e-08', dlogl='7.80e-01', energy_flux='1.74e-05', photon_flux2='2.11e-08', job_status='DONE', time_completed='2021-09-12 17:44:02.780267', photon_index_error2='0.61', photon_index2='1.43', ts='2.55', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', photon_flux_upper_limit='1.36e-07', energy_flux_error2='3.69e-05', EG='1.47', time_epoch_completed='1631493842.78', return_code='0', job_id='784628', GAL2='0.72', EG2='1.51', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='2.28e-08', ts2='4.13', photon_index='2.30' WHERE bin_id='1245' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:44:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 784628: <4FGL_J1553.6+1257_daily_bin1245> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin1245> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 17:30:36 2021
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:32:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 17:32:00 2021
Terminated at Sun Sep 12 17:44:03 2021
Results reported at Sun Sep 12 17:44:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin1245 238.402 12.9524 562032001 562291201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1553.6+1257 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   660.00 sec.
    Max Memory :                                 1077 MB
    Average Memory :                             327.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   725 sec.
    Turnaround time :                            807 sec.

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

