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


Performing analysis on: 4FGL_J1553.6+1257_daily_bin530
RA = 238.402, Dec = 12.9524
tmin = 376704001, tmax = 376963201
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='780446', job_status='RUN', time_executed='2021-09-12 17:20:22.411061', time_epoch_executed='1631492422.41' WHERE source_name='4FGL J1553.6+1257' and cadence='daily' and bin_id='530'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/780446

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/780446/ft1_4FGL_J1553.6+1257_daily_bin530.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/780446/ft2_4FGL_J1553.6+1257_daily_bin530.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/780446/ft1_4FGL_J1553.6+1257_daily_bin530.fits outfile=/scratch/kocevski/780446/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin530.fits ra=238.402 dec=12.9524 rad=12.0 tmin=376704001.0 tmax=376963201.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 2.82
user 2.63
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/780446/ft2_4FGL_J1553.6+1257_daily_bin530.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/780446/ft1_filteredMKT_4FGL_J1553.6+1257_daily_bin530.fits evtable="EVENTS" outfile="/scratch/kocevski/780446/ft1_filtered_4FGL_J1553.6+1257_daily_bin530.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.44
user 0.31
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/780446/ft1_filtered_4FGL_J1553.6+1257_daily_bin530.fits" evtable="EVENTS" scfile=/scratch/kocevski/780446/ft2_4FGL_J1553.6+1257_daily_bin530.fits sctable="SC_DATA" outfile=/scratch/kocevski/780446/ltcube_376704001_376963201_4FGL_J1553.6+1257_daily_bin530.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/780446/ft2_4FGL_J1553.6+1257_daily_bin530.fits
.....................!
real 12.28
user 11.89
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/780446/ft1_filtered_4FGL_J1553.6+1257_daily_bin530.fits evtable="EVENTS" scfile=/scratch/kocevski/780446/ft2_4FGL_J1553.6+1257_daily_bin530.fits sctable="SC_DATA" expcube=/scratch/kocevski/780446/ltcube_376704001_376963201_4FGL_J1553.6+1257_daily_bin530.fits outfile=/scratch/kocevski/780446/expmap_376704001_376963201_4FGL_J1553.6+1257_daily_bin530.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/780446/ltcube_376704001_376963201_4FGL_J1553.6+1257_daily_bin530.fits
.....................!
real 155.57
user 151.77
sys 3.40

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/780446/ft1_filtered_4FGL_J1553.6+1257_daily_bin530.fits scfile=/scratch/kocevski/780446/ft2_4FGL_J1553.6+1257_daily_bin530.fits outfile=/scratch/kocevski/780446/cmap_376704001_376963201_4FGL_J1553.6+1257_daily_bin530.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.48
user 0.33
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/780446/ft1_filtered_4FGL_J1553.6+1257_daily_bin530.fits scfile=/scratch/kocevski/780446/ft2_4FGL_J1553.6+1257_daily_bin530.fits outfile=/scratch/kocevski/780446/cmap_HighResolution_376704001_376963201_4FGL_J1553.6+1257_daily_bin530.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.48
user 0.33
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/780446/ft1_filtered_4FGL_J1553.6+1257_daily_bin530.fits', '/scratch/kocevski/780446/ft2_4FGL_J1553.6+1257_daily_bin530.fits', expMap='/scratch/kocevski/780446/expmap_376704001_376963201_4FGL_J1553.6+1257_daily_bin530.fits', expCube='/scratch/kocevski/780446/ltcube_376704001_376963201_4FGL_J1553.6+1257_daily_bin530.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/780446/Model_4FGL_J1553.6+1257_daily_bin530.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/780446/ft1_filtered_4FGL_J1553.6+1257_daily_bin530.fits
Spacecraft file(s): /scratch/kocevski/780446/ft2_4FGL_J1553.6+1257_daily_bin530.fits
Exposure map: /scratch/kocevski/780446/expmap_376704001_376963201_4FGL_J1553.6+1257_daily_bin530.fits
Exposure cube: /scratch/kocevski/780446/ltcube_376704001_376963201_4FGL_J1553.6+1257_daily_bin530.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/780446/Model_4FGL_J1553.6+1257_daily_bin530.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) = 8358.80714425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11304E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.0679       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.1097       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.2548       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.6992       1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.333       1.0000         .10000E-03   10000.    
    14 'norm      '    15.053       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   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 '    30.758       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2625       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .81298       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=   8358.698     FROM MIGRAD    STATUS=CONVERGED    437 CALLS     1848 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.734       -.74728E-05** at limit **
   2  Prefactor     .10000E-03    10.219       -.42624E-05** at limit **
   3  Prefactor     .10000E-03    71.333        .18850E-04** at limit **
   4  Prefactor     .10000E-03    31.115        .17947E-04** at limit **
   5  Prefactor     .10000E-03    25.387       -.12771E-04** at limit **
   6  norm          2.0679        1.8144       -.24383E-07   -.12851E-03
   7  Prefactor     3.1102        4.0046       -.28725E-06   -.63765E-03
   8  Prefactor     .10000E-03    21.729       -.77565E-05** at limit **
   9  norm          2.2553        3.4117       -.29336E-06   -.65450E-03
  10  Prefactor     .10000E-03    19.133        .14318E-04** at limit **
  11  norm          .10000E-03    4.3858        .84428E-08** at limit **
  12  norm          6.6993        2.0269        .58913E-08    .36721E-05
  13  Prefactor     17.335        11.450       -.58584E-06   -.81649E-03
  14  norm          15.054        13.217       -.79924E-07   -.35085E-04
  15  norm          .10000E-03    79.640       -.28213E-04** at limit **
  16  Prefactor     .10000E-03    9.2924        .29455E-05** at limit **
  17  Prefactor     .10000E-03    10.852        .51776E-06** at limit **
  18  Prefactor     .10000E-03    7.5426       -.20356E-06** at limit **
  19  Prefactor     30.757        12.885       -.23371E-07   -.71021E-05
  20  Normalizat    1.2624        .20920       -.13753E-06   -.17146E-03
  21  Prefactor     .81295        .10156        .17026E-06   -.19688E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.06794
  Prefactor  = 3.11021
  Prefactor  = 0.0001
  norm       = 2.25527
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.69928
  Prefactor  = 17.3347
  norm       = 15.0544
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.7568
  Normalizat = 1.26244
  Prefactor  = 0.812951
 **********
 **   18 **HESSE 
 **********

 FCN=   8358.698     FROM HESSE     STATUS=OK           311 CALLS     2159 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    72.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    31.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    25.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.0679        1.8151        .11200E-03   -1.5420    
   7  Prefactor     3.1102        3.9955        .19702E-03   -1.5355    
   8  Prefactor     .10000E-03    21.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.2553        3.3950        .19810E-03   -1.5408    
  10  Prefactor     .10000E-03    19.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.4369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.6993        2.0268        .69511E-04   -1.5190    
  13  Prefactor     17.335        11.523        .48100E-03   -1.4875    
  14  norm          15.054        13.227        .10323E-03   -1.4932    
  15  norm          .10000E-03    79.538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.4938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.5928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     30.757        12.891        .72245E-04   -1.4598    
  20  Normalizat    1.2624        .25508        .31615E-03   -.84695    
  21  Prefactor     .81295        .12426        .18522E-03   -.99253    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.8814e-10
Minuit parameter uncertainties:
  1  5.75542e-07
  2  3.34735e-07
  3  0.000354864
  4  7.55318e-05
  5  5.51487e-05
  6  1.81516
  7  3.99585
  8  3.08409e-06
  9  3.39532
  10  5.91486e-08
  11  1.07905e-06
  12  2.02683
  13  11.5248
  14  13.2296
  15  9.71889e-06
  16  1.71685e-05
  17  3.28292e-07
  18  2.88038e-07
  19  12.8925
  20  0.255335
  21  0.124306
Done.

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

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.000e-04  1.079e-06  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:  8.130e-01  1.243e-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.262e+00  2.553e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 238.402 12.952
Photon Flux Upper Limit: 6.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.35e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/780446/likelihoodResults_376704001_376963201_4FGL_J1553.6+1257_daily_bin530.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) = 8358.69873229
delta logL = -0.00107409754492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8358.69765822
delta logL = -3.24016582454e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2765       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2624       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81292       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8358.698     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      244 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    15.597        .67248E-01** at limit **
   2  alpha         2.0158        3.5076        .16545       -.33396E-07
   3  Normalizat    1.2624        .11545E-01    .31615E-03   -.11795E-03
   4  Prefactor     .81295        .55926E-02    .18522E-03   -.22308E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100003
  alpha      = 2.0158
  Normalizat = 1.26244
  Prefactor  = 0.812951
 **********
 **   18 **HESSE 
 **********

 FCN=   8358.698     FROM HESSE     STATUS=OK            25 CALLS      269 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.1383        .32094E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0158        2.7652        .66178E-02   -.19491    
   3  Normalizat    1.2624        .25279        .12646E-04   -.84695    
   4  Prefactor     .81295        .12253        .37043E-04   -.99253    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.6506e-10
Minuit parameter uncertainties:
  1  0.000249259
  2  175.718
  3  0.253033
  4  0.122572
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/780446': 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) = 8358.6976569
delta logL = 1.28959618451e-06

Extracting fit parameters...

4FGL J1553.6+1257
   Spectrum: LogParabola
258         norm:  1.000e-04  2.493e-04  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.016e+00  1.757e+02  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:  8.130e-01  1.226e-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.262e+00  2.530e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 238.402 12.952

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/780446/cmap_HighResolution_376704001_376963201_4FGL_J1553.6+1257_daily_bin530.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.35e-05', job_status='DONE', photon_flux_upper_limit='6.69e-08', time_completed='2021-09-12 17:29:20.369725', job_id='780446', GAL2='0.81', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1631492960.37', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.29e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='530' AND source_name='4FGL J1553.6+1257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 17:29:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 780446: <4FGL_J1553.6+1257_daily_bin530> in cluster <slac> Done

Job <4FGL_J1553.6+1257_daily_bin530> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 12 17:15:29 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 17:20:06 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:20:06 2021
Terminated at Sun Sep 12 17:29:21 2021
Results reported at Sun Sep 12 17:29:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1553.6+1257_daily_bin530 238.402 12.9524 376704001 376963201 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 :                                   533.42 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             350.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   554 sec.
    Turnaround time :                            832 sec.

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

