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


Performing analysis on: 4FGL_J1552.0+0850_daily_bin179
RA = 238.01, Dec = 8.8419
tmin = 285724801, tmax = 285984001
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='749931', job_status='RUN', time_executed='2021-09-12 15:40:53.137934', time_epoch_executed='1631486453.14' WHERE source_name='4FGL J1552.0+0850' and cadence='daily' and bin_id='179'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/749931

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/749931/ft1_4FGL_J1552.0+0850_daily_bin179.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/749931/ft2_4FGL_J1552.0+0850_daily_bin179.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/749931/ft1_4FGL_J1552.0+0850_daily_bin179.fits outfile=/scratch/kocevski/749931/ft1_filteredMKT_4FGL_J1552.0+0850_daily_bin179.fits ra=238.01 dec=8.8419 rad=12.0 tmin=285724801.0 tmax=285984001.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.22
user 3.96
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/749931/ft1_filtered_4FGL_J1552.0+0850_daily_bin179.fits" evtable="EVENTS" scfile=/scratch/kocevski/749931/ft2_4FGL_J1552.0+0850_daily_bin179.fits sctable="SC_DATA" outfile=/scratch/kocevski/749931/ltcube_285724801_285984001_4FGL_J1552.0+0850_daily_bin179.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/749931/ft2_4FGL_J1552.0+0850_daily_bin179.fits
.....................!
real 13.73
user 13.19
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/749931/ft1_filtered_4FGL_J1552.0+0850_daily_bin179.fits evtable="EVENTS" scfile=/scratch/kocevski/749931/ft2_4FGL_J1552.0+0850_daily_bin179.fits sctable="SC_DATA" expcube=/scratch/kocevski/749931/ltcube_285724801_285984001_4FGL_J1552.0+0850_daily_bin179.fits outfile=/scratch/kocevski/749931/expmap_285724801_285984001_4FGL_J1552.0+0850_daily_bin179.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/749931/ltcube_285724801_285984001_4FGL_J1552.0+0850_daily_bin179.fits
.....................!
real 191.62
user 186.32
sys 4.78

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/749931/ft1_filtered_4FGL_J1552.0+0850_daily_bin179.fits scfile=/scratch/kocevski/749931/ft2_4FGL_J1552.0+0850_daily_bin179.fits outfile=/scratch/kocevski/749931/cmap_285724801_285984001_4FGL_J1552.0+0850_daily_bin179.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/749931/ft1_filtered_4FGL_J1552.0+0850_daily_bin179.fits scfile=/scratch/kocevski/749931/ft2_4FGL_J1552.0+0850_daily_bin179.fits outfile=/scratch/kocevski/749931/cmap_HighResolution_285724801_285984001_4FGL_J1552.0+0850_daily_bin179.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1769       1.0000         .10000E-03   10000.    
     2 'norm      '    3.0467       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.889       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .85416       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.7664       1.0000         .10000E-03   10000.    
     8 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.4203       1.0000         .10000E-03   10000.    
    10 'Prefactor '    28.691       1.0000         .10000E-03   10000.    
    11 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .40760E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    1.5596       1.0000         .10000E-03   10000.    
    15 'norm      '    78.040       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.9175       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1502       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1080       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=   7445.110     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2088 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1768        .34253       -.50511E-08    .27882E-03
   2  norm          3.0465        3.5313        .14576E-05   -.21242E-02
   3  Prefactor     .10000E-03    35.213       -.53315E-05** at limit **
   4  Prefactor     16.874        31.744       -.79467E-05   -.23876E-03
   5  Prefactor     .85553        2.4562        .13797E-06   -.40533E-03
   6  Prefactor     .10000E-03    10.367        .91037E-08** at limit **
   7  Prefactor     6.7656        21.144       -.21169E-06   -.10014E-04
   8  norm          .10000E-03    1.7688        .17160E-07** at limit **
   9  Prefactor     3.4197        4.5012       -.38569E-07   -.19656E-03
  10  Prefactor     28.692        29.569        .38224E-06    .63767E-04
  11  norm          .10000E-03    2.3249        .34885E-08** at limit **
  12  Prefactor     .10000E-03    24.805        .19939E-05** at limit **
  13  norm          .10012E-03    5.1302       -.11411E-05** at limit **
  14  norm          1.5603        1.2264        .65360E-09    .32403E-03
  15  norm          78.043        23.780        .17197E-07    .17381E-03
  16  norm          .10001E-03    42.714        .92787E-05** at limit **
  17  Prefactor     .10000E-03    70.856       -.30628E-05** at limit **
  18  Prefactor     .10000E-03    19.058       -.20343E-05** at limit **
  19  Prefactor     2.9132        14.952       -.34129E-06   -.59462E-04
  20  Prefactor     .10000E-03    19.003        .18095E-05** at limit **
  21  Normalizat    1.1508        .27511        .21294E-05    .93628E-04
  22  Prefactor     1.1077        .11947       -.50138E-06    .32012E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.17677
  norm       = 3.04648
  Prefactor  = 0.000100003
  Prefactor  = 16.8742
  Prefactor  = 0.855535
  Prefactor  = 0.0001
  Prefactor  = 6.76557
  norm       = 0.0001
  Prefactor  = 3.41969
  Prefactor  = 28.6917
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100121
  norm       = 1.56029
  norm       = 78.0432
  norm       = 0.000100009
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.91316
  Prefactor  = 0.0001
  Normalizat = 1.1508
  Prefactor  = 1.1077
 **********
 **   18 **HESSE 
 **********

 FCN=   7445.110     FROM HESSE     STATUS=OK           338 CALLS     2426 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1768        .34447        .26283E-04   -1.5491    
   2  norm          3.0465        5.1208        .11622E-02   -1.5359    
   3  Prefactor     .10000E-03    35.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.874        32.541        .97458E-04   -1.4886    
   5  Prefactor     .85553        2.4761        .22196E-03   -1.5523    
   6  Prefactor     .10000E-03    10.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.7656        21.131        .15425E-03   -1.5188    
   8  norm          .10000E-03    1.8216        .22382E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.4197        4.4873        .19960E-03   -1.5338    
  10  Prefactor     28.692        29.589        .74796E-04   -1.4636    
  11  norm          .10000E-03    2.3801        .12840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    24.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10012E-03    38.006        .36267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.5603        1.2281        .82257E-04   -1.5458    
  15  norm          78.043        23.812        .45458E-04   -1.3939    
  16  norm          .10001E-03    43.591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    71.023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    19.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.9132        14.921        .23785E-03   -1.5367    
  20  Prefactor     .10000E-03    19.565        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1508        .31528        .38662E-03   -.88137    
  22  Prefactor     1.1077        .13957        .17997E-03   -.89221    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.98909e-09
Minuit parameter uncertainties:
  1  0.344475
  2  5.12153
  3  0.00064309
  4  32.5755
  5  2.47642
  6  2.76992e-06
  7  21.1547
  8  2.12404e-06
  9  4.48776
  10  29.6038
  11  1.82191e-06
  12  0.000195666
  13  0.00429366
  14  1.22812
  15  23.815
  16  0.00122696
  17  0.00054498
  18  0.000180317
  19  13.1909
  20  0.000116888
  21  0.315798
  22  0.139614
Done.

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

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  1.000e-04  1.957e-04  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.108e+00  1.396e-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.151e+00  3.158e-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: 6.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/749931/likelihoodResults_285724801_285984001_4FGL_J1552.0+0850_daily_bin179.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) = 7445.11026916
delta logL = -0.000191671268112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7445.11007759
delta logL = -1.0146322893e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1388       1.0000          .0000       10.000    
     3 'Normalizat'    1.1508       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1077       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=   7445.110     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      230 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6403.8        .90712E-02** at limit **
   2  Index         2.1229        7.5890        .50000        .54063E-05
   3  Normalizat    1.1508        .90978E-01    .87306E-01    .18664E-04
   4  Prefactor     1.1077        .41860E-01    .37301E-01    .32471E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.12291
  Normalizat = 1.1508
  Prefactor  = 1.1077
 **********
 **   18 **HESSE 
 **********

 FCN=   7445.110     FROM HESSE     STATUS=OK            31 CALLS      261 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    99.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1229        5.3046        .50000       -.61312    
   3  Normalizat    1.1508        .29403        .38662E-03   -.88137    
   4  Prefactor     1.1077        .13575        .17997E-03   -.89221    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.93554e-11
Minuit parameter uncertainties:
  1  0.000172402
  2  8.41452
  3  0.29445
  4  0.135796
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/749931': 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) = 7445.11007757
delta logL = -7.94707375462e-08

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.108e+00  1.358e-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.151e+00  2.944e-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/749931/cmap_HighResolution_285724801_285984001_4FGL_J1552.0+0850_daily_bin179.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.85e-03', job_status='DONE', photon_flux_upper_limit='6.43e-08', time_completed='2021-09-12 15:51:46.707890', job_id='749931', GAL2='1.11', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1631487106.71', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-7.95e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='179' AND source_name='4FGL J1552.0+0850' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 15:51:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 749931: <4FGL_J1552.0+0850_daily_bin179> in cluster <slac> Done

Job <4FGL_J1552.0+0850_daily_bin179> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 15:35:44 2021
Job was executed on host(s) <bullet0206>, 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:47 2021
Results reported at Sun Sep 12 15:51:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1552.0+0850_daily_bin179 238.01 8.8419 285724801 285984001 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 :                                   649.03 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             260.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   889 sec.
    Turnaround time :                            963 sec.

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

