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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin1323
RA = 358.931, Dec = -33.8607
tmin = 582249601, tmax = 582508801
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='196239', job_status='RUN', time_executed='2021-09-30 09:16:04.916533', time_epoch_executed='1633018564.92' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='1323'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196239

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196239/ft1_4FGL_J2355.7-3351_daily_bin1323.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196239/ft2_4FGL_J2355.7-3351_daily_bin1323.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196239/ft1_4FGL_J2355.7-3351_daily_bin1323.fits outfile=/scratch/kocevski/196239/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1323.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=582249601.0 tmax=582508801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.37
user 5.13
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/196239/ft2_4FGL_J2355.7-3351_daily_bin1323.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/196239/ft2_4FGL_J2355.7-3351_daily_bin1323.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/196239/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1323.fits evtable="EVENTS" outfile="/scratch/kocevski/196239/ft1_filtered_4FGL_J2355.7-3351_daily_bin1323.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.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/196239/ft1_filtered_4FGL_J2355.7-3351_daily_bin1323.fits" evtable="EVENTS" scfile=/scratch/kocevski/196239/ft2_4FGL_J2355.7-3351_daily_bin1323.fits sctable="SC_DATA" outfile=/scratch/kocevski/196239/ltcube_582249601_582508801_4FGL_J2355.7-3351_daily_bin1323.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/196239/ft2_4FGL_J2355.7-3351_daily_bin1323.fits
.....................!
real 11.74
user 11.37
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196239/ft1_filtered_4FGL_J2355.7-3351_daily_bin1323.fits evtable="EVENTS" scfile=/scratch/kocevski/196239/ft2_4FGL_J2355.7-3351_daily_bin1323.fits sctable="SC_DATA" expcube=/scratch/kocevski/196239/ltcube_582249601_582508801_4FGL_J2355.7-3351_daily_bin1323.fits outfile=/scratch/kocevski/196239/expmap_582249601_582508801_4FGL_J2355.7-3351_daily_bin1323.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/196239/ltcube_582249601_582508801_4FGL_J2355.7-3351_daily_bin1323.fits
.....................!
real 190.11
user 185.66
sys 4.12

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

Setting source of interest to:
4FGL J2355.7-3351 @ 358.931 -33.8607

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/196239/ft1_filtered_4FGL_J2355.7-3351_daily_bin1323.fits scfile=/scratch/kocevski/196239/ft2_4FGL_J2355.7-3351_daily_bin1323.fits outfile=/scratch/kocevski/196239/cmap_582249601_582508801_4FGL_J2355.7-3351_daily_bin1323.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=358.931 yref=-33.8607 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196239/ft1_filtered_4FGL_J2355.7-3351_daily_bin1323.fits scfile=/scratch/kocevski/196239/ft2_4FGL_J2355.7-3351_daily_bin1323.fits outfile=/scratch/kocevski/196239/cmap_HighResolution_582249601_582508801_4FGL_J2355.7-3351_daily_bin1323.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=358.931 yref=-33.8607 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/196239/ft1_filtered_4FGL_J2355.7-3351_daily_bin1323.fits evtable="EVENTS" scfile=/scratch/kocevski/196239/ft2_4FGL_J2355.7-3351_daily_bin1323.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/196239/Model_4FGL_J2355.7-3351_daily_bin1323.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/196239/ft1_filtered_4FGL_J2355.7-3351_daily_bin1323.fits.....................!
real 34.63
user 33.41
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/196239/ft1_filtered_4FGL_J2355.7-3351_daily_bin1323.fits', '/scratch/kocevski/196239/ft2_4FGL_J2355.7-3351_daily_bin1323.fits', expMap='/scratch/kocevski/196239/expmap_582249601_582508801_4FGL_J2355.7-3351_daily_bin1323.fits', expCube='/scratch/kocevski/196239/ltcube_582249601_582508801_4FGL_J2355.7-3351_daily_bin1323.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/196239/Model_4FGL_J2355.7-3351_daily_bin1323.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2355.7-3351'

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.680e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/196239/ft1_filtered_4FGL_J2355.7-3351_daily_bin1323.fits
Spacecraft file(s): /scratch/kocevski/196239/ft2_4FGL_J2355.7-3351_daily_bin1323.fits
Exposure map: /scratch/kocevski/196239/expmap_582249601_582508801_4FGL_J2355.7-3351_daily_bin1323.fits
Exposure cube: /scratch/kocevski/196239/ltcube_582249601_582508801_4FGL_J2355.7-3351_daily_bin1323.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/196239/Model_4FGL_J2355.7-3351_daily_bin1323.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) = 3951.22531125

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.636       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.282       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.4896       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.220       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.026       1.0000         .10000E-03   10000.    
     9 'norm      '    .10146E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.7081       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.517       1.0000         .10000E-03   10000.    
    13 'norm      '    3.7014       1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.531       1.0000         .10000E-03   10000.    
    15 'norm      '    4.3280       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 '    3.5311       1.0000         .10000E-03   10000.    
    19 'Prefactor '    51.515       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .74531       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2503       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3951.223     FROM MIGRAD    STATUS=CONVERGED    420 CALLS     2192 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.631        41.240       -.78443E-05   -.16078E-05
   2  Prefactor     15.282        7.3227        .40742E-07    .35418E-04
   3  Prefactor     .10000E-03    18.139       -.31522E-05** at limit **
   4  Prefactor     .10000E-03    17.955       -.72979E-06** at limit **
   5  Prefactor     6.4588        26.588       -.55029E-04   -.84336E-04
   6  Prefactor     13.222        8.2668        .77222E-05   -.50211E-03
   7  Prefactor     .10000E-03    42.010        .37236E-04** at limit **
   8  Prefactor     25.026        14.070       -.34884E-06   -.94383E-04
   9  norm          .10000E-03    4.1034        .24492E-07** at limit **
  10  norm          5.7077        7.6531       -.51330E-06   -.55951E-04
  11  Prefactor     .10000E-03    17.809        .46187E-05** at limit **
  12  Prefactor     17.516        41.278       -.25279E-05    .26538E-05
  13  norm          3.7017        3.7182        .48812E-07   -.11940E-04
  14  Prefactor     27.530        34.424       -.12270E-05    .12107E-04
  15  norm          4.3277        4.5927       -.32978E-06   -.98286E-04
  16  Prefactor     .10000E-03    49.448       -.34847E-04** at limit **
  17  Prefactor     .10000E-03    22.586       -.50648E-05** at limit **
  18  Prefactor     3.5311        7.9475       -.26377E-05   -.27481E-03
  19  Prefactor     51.515        69.852       -.40385E-06    .23084E-04
  20  Normalizat    .74527        .22114       -.85828E-06    .27415E-04
  21  Prefactor     1.2504        .24524        .25127E-05   -.99150E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.6313
  Prefactor  = 15.2825
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.45875
  Prefactor  = 13.2216
  Prefactor  = 0.000100004
  Prefactor  = 25.0259
  norm       = 0.0001
  norm       = 5.70774
  Prefactor  = 0.0001
  Prefactor  = 17.5155
  norm       = 3.70171
  Prefactor  = 27.5299
  norm       = 4.32774
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.53112
  Prefactor  = 51.5148
  Normalizat = 0.745268
  Prefactor  = 1.25035
 **********
 **   18 **HESSE 
 **********

 FCN=   3951.223     FROM HESSE     STATUS=OK           319 CALLS     2511 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.631        41.244        .84189E-04   -1.4756    
   2  Prefactor     15.282        7.3281        .10246E-03   -1.4926    
   3  Prefactor     .10000E-03    18.167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.4588        26.834        .15754E-03   -1.5200    
   6  Prefactor     13.222        8.2062        .11017E-03   -1.4981    
   7  Prefactor     .10000E-03    41.716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     25.026        14.078        .80075E-04   -1.4707    
   9  norm          .10000E-03    4.1270        .12416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.7077        7.6499        .16812E-03   -1.5230    
  11  Prefactor     .10000E-03    17.823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.516        41.283        .95696E-04   -1.4871    
  13  norm          3.7017        3.7096        .11650E-03   -1.5323    
  14  Prefactor     27.530        34.432        .76352E-04   -1.4658    
  15  norm          4.3277        4.5851        .13260E-03   -1.5292    
  16  Prefactor     .10000E-03    49.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.5311        7.9102        .21512E-03   -1.5332    
  19  Prefactor     51.515        69.663        .55877E-04   -1.4271    
  20  Normalizat    .74527        .26907        .27456E-03   -1.0213    
  21  Prefactor     1.2504        .29904        .24875E-03   -.84796    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.56823e-10
Minuit parameter uncertainties:
  1  41.2964
  2  7.32852
  3  4.53e-06
  4  1.88842e-05
  5  26.3497
  6  8.20685
  7  0.000832505
  8  14.0795
  9  4.64535e-06
  10  7.65123
  11  2.1682e-06
  12  41.3505
  13  3.70981
  14  34.457
  15  4.58545
  16  4.07579e-06
  17  7.91791e-06
  18  7.91251
  19  69.7734
  20  0.269553
  21  0.299446
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  3.531e+00  7.913e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.250e+00  2.994e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  7.453e-01  2.696e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.26
Ra Dec: 358.931 -33.861
Photon Flux Upper Limit: 1.31e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.02e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/196239/likelihoodResults_582249601_582508801_4FGL_J2355.7-3351_daily_bin1323.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) = 3951.17830028
delta logL = 0.0446124596338

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3951.17393555
delta logL = 0.0489771866587

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9240       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9978       1.0000          .0000       10.000    
     3 'Normalizat'    .73608       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2572       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+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=   3951.174     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      248 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9245        7.3648        .18657E-03   -.29435E-03
   2  Index         2.9980        1.5283        .11383E-01   -.35072E-04
   3  Normalizat    .73603        .26204        .27610E-03    .19719E-03
   4  Prefactor     1.2572        .29739        .24814E-03    .18773E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.92454
  Index      = 2.99799
  Normalizat = 0.736033
  Prefactor  = 1.25722
 **********
 **   18 **HESSE 
 **********

 FCN=   3951.174     FROM HESSE     STATUS=OK            25 CALLS      273 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9245        6.7233        .74627E-05   -1.5366    
   2  Index         2.9980        1.3992        .45532E-03   -.41196    
   3  Normalizat    .73603        .26240        .11044E-04   -1.0249    
   4  Prefactor     1.2572        .29766        .49628E-04   -.84588    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52259e-10
Minuit parameter uncertainties:
  1  6.72506
  2  1.4219
  3  0.26285
  4  0.298059
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196239': 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) = 3951.17393548
delta logL = 0.0489772597957

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  2.925e+00  6.725e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.998e+00  1.422e+00  0.000e+00  1.000e+01 (-1.000e+00)
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.257e+00  2.981e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  7.360e-01  2.629e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.26
Ra Dec: 358.931 -33.861

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/196239/cmap_HighResolution_582249601_582508801_4FGL_J2355.7-3351_daily_bin1323.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2021-09-30 09:24:53.793731', job_id='196239', GAL2='1.26', fit_tolerance='1e-08', EG2='0.74', EG='0.75', time_epoch_completed='1633019093.79', return_code2='0', ts='0.26', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='4.90e-02', ts2='0.37', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1323' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:24:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 196239: <4FGL_J2355.7-3351_daily_bin1323> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin1323> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 30 09:15:44 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:15:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 09:15:46 2021
Terminated at Thu Sep 30 09:24:55 2021
Results reported at Thu Sep 30 09:24:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin1323 358.931 -33.8607 582249601 582508801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2355.7-3351 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   520.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   548 sec.
    Turnaround time :                            551 sec.

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

