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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin1407
RA = 358.931, Dec = -33.8607
tmin = 604022401, tmax = 604281601
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='197305', job_status='RUN', time_executed='2021-09-30 09:21:59.747379', time_epoch_executed='1633018919.75' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='1407'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/197305

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/197305/ft1_4FGL_J2355.7-3351_daily_bin1407.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/197305/ft2_4FGL_J2355.7-3351_daily_bin1407.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/197305/ft1_4FGL_J2355.7-3351_daily_bin1407.fits outfile=/scratch/kocevski/197305/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1407.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=604022401.0 tmax=604281601.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.20
user 3.94
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/197305/ft2_4FGL_J2355.7-3351_daily_bin1407.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/197305/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1407.fits evtable="EVENTS" outfile="/scratch/kocevski/197305/ft1_filtered_4FGL_J2355.7-3351_daily_bin1407.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/197305/ft1_filtered_4FGL_J2355.7-3351_daily_bin1407.fits" evtable="EVENTS" scfile=/scratch/kocevski/197305/ft2_4FGL_J2355.7-3351_daily_bin1407.fits sctable="SC_DATA" outfile=/scratch/kocevski/197305/ltcube_604022401_604281601_4FGL_J2355.7-3351_daily_bin1407.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/197305/ft2_4FGL_J2355.7-3351_daily_bin1407.fits
.....................!
real 11.75
user 11.40
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/197305/ft1_filtered_4FGL_J2355.7-3351_daily_bin1407.fits evtable="EVENTS" scfile=/scratch/kocevski/197305/ft2_4FGL_J2355.7-3351_daily_bin1407.fits sctable="SC_DATA" expcube=/scratch/kocevski/197305/ltcube_604022401_604281601_4FGL_J2355.7-3351_daily_bin1407.fits outfile=/scratch/kocevski/197305/expmap_604022401_604281601_4FGL_J2355.7-3351_daily_bin1407.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/197305/ltcube_604022401_604281601_4FGL_J2355.7-3351_daily_bin1407.fits
.....................!
real 190.38
user 185.12
sys 4.91

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/197305/ft1_filtered_4FGL_J2355.7-3351_daily_bin1407.fits scfile=/scratch/kocevski/197305/ft2_4FGL_J2355.7-3351_daily_bin1407.fits outfile=/scratch/kocevski/197305/cmap_604022401_604281601_4FGL_J2355.7-3351_daily_bin1407.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/197305/ft1_filtered_4FGL_J2355.7-3351_daily_bin1407.fits scfile=/scratch/kocevski/197305/ft2_4FGL_J2355.7-3351_daily_bin1407.fits outfile=/scratch/kocevski/197305/cmap_HighResolution_604022401_604281601_4FGL_J2355.7-3351_daily_bin1407.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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/197305/ft1_filtered_4FGL_J2355.7-3351_daily_bin1407.fits evtable="EVENTS" scfile=/scratch/kocevski/197305/ft2_4FGL_J2355.7-3351_daily_bin1407.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/197305/Model_4FGL_J2355.7-3351_daily_bin1407.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/197305/ft1_filtered_4FGL_J2355.7-3351_daily_bin1407.fits.....................!
real 38.61
user 37.14
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/197305/ft1_filtered_4FGL_J2355.7-3351_daily_bin1407.fits', '/scratch/kocevski/197305/ft2_4FGL_J2355.7-3351_daily_bin1407.fits', expMap='/scratch/kocevski/197305/expmap_604022401_604281601_4FGL_J2355.7-3351_daily_bin1407.fits', expCube='/scratch/kocevski/197305/ltcube_604022401_604281601_4FGL_J2355.7-3351_daily_bin1407.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/197305/Model_4FGL_J2355.7-3351_daily_bin1407.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/197305/ft1_filtered_4FGL_J2355.7-3351_daily_bin1407.fits
Spacecraft file(s): /scratch/kocevski/197305/ft2_4FGL_J2355.7-3351_daily_bin1407.fits
Exposure map: /scratch/kocevski/197305/expmap_604022401_604281601_4FGL_J2355.7-3351_daily_bin1407.fits
Exposure cube: /scratch/kocevski/197305/ltcube_604022401_604281601_4FGL_J2355.7-3351_daily_bin1407.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/197305/Model_4FGL_J2355.7-3351_daily_bin1407.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) = 4703.24665729

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.366       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.242       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.850       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.7988       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3368       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10249E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.228       1.0000         .10000E-03   10000.    
    15 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10240E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.581       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.6379       1.0000         .10000E-03   10000.    
    19 'Prefactor '    36.674       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .79097       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3591       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=   4703.229     FROM MIGRAD    STATUS=CONVERGED    433 CALLS     2484 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    39.443        .43269E-06** at limit **
   2  Prefactor     .10000E-03    2.1801        .93700E-07** at limit **
   3  Prefactor     19.366        27.656       -.12111E-07   -.17080E-04
   4  Prefactor     22.247        21.473        .58611E-06    .24272E-04
   5  Prefactor     14.850        17.532        .13462E-06    .52561E-06
   6  Prefactor     5.8000        5.3092        .23262E-06    .77804E-05
   7  Prefactor     .10000E-03    7.2240        .88438E-07** at limit **
   8  Prefactor     .10000E-03    7.5501        .56801E-06** at limit **
   9  norm          .10000E-03    1.7418        .14929E-06** at limit **
  10  norm          .10000E-03    3.5249        .26844E-06** at limit **
  11  Prefactor     1.3851        159.49        .12413E-04    .27524E-04
  12  Prefactor     .10001E-03    89.195        .28211E-05** at limit **
  13  norm          .10000E-03    2.5401        .94445E-06** at limit **
  14  Prefactor     22.143        50.539       -.15161E-04   -.17824E-03
  15  norm          .10000E-03    2.7618        .86538E-06** at limit **
  16  Prefactor     .10210E-03    6432.3       -.21363E-03** at limit **
  17  Prefactor     20.546        62.248       -.42121E-05   -.92838E-04
  18  Prefactor     1.6390        3.7344        .10110E-04   -.73896E-03
  19  Prefactor     36.672        45.168       -.33667E-05   -.56452E-04
  20  Normalizat    .79075        .20328       -.82567E-06    .13935E-03
  21  Prefactor     1.3592        .22362       -.25661E-05    .25604E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.3655
  Prefactor  = 22.247
  Prefactor  = 14.85
  Prefactor  = 5.79999
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.38505
  Prefactor  = 0.000100005
  norm       = 0.0001
  Prefactor  = 22.1428
  norm       = 0.0001
  Prefactor  = 0.000102103
  Prefactor  = 20.5462
  Prefactor  = 1.63902
  Prefactor  = 36.6723
  Normalizat = 0.790746
  Prefactor  = 1.35918
 **********
 **   18 **HESSE 
 **********

 FCN=   4703.229     FROM HESSE     STATUS=OK           311 CALLS     2795 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    39.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.1943        .98619E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.366        27.590        .91014E-04   -1.4828    
   4  Prefactor     22.247        21.475        .84931E-04   -1.4764    
   5  Prefactor     14.850        17.532        .10393E-03   -1.4937    
   6  Prefactor     5.8000        5.3087        .14480E-03   -1.5226    
   7  Prefactor     .10000E-03    7.2255        .18003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.6080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.7434        .88380E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    3.5591        .12574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.3851        157.82        .37937E-03   -1.5473    
  12  Prefactor     .10001E-03    90.457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.5458        .10616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.143        50.407        .84957E-04   -1.4766    
  15  norm          .10000E-03    2.8054        .11085E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10210E-03    6463.8        .36297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.546        62.396        .88287E-04   -1.4801    
  18  Prefactor     1.6390        3.8412        .99987E-03   -1.5452    
  19  Prefactor     36.672        45.217        .66179E-04   -1.4496    
  20  Normalizat    .79075        .24400        .26084E-03   -1.0041    
  21  Prefactor     1.3592        .27036        .23733E-03   -.81564    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98709e-09
Minuit parameter uncertainties:
  1  6.03009e-05
  2  6.07042e-06
  3  27.6081
  4  21.4824
  5  17.5383
  6  5.30912
  7  1.63605e-06
  8  1.70088e-05
  9  2.58966e-06
  10  2.00077e-06
  11  29.6491
  12  0.00139514
  13  2.82543e-05
  14  50.5044
  15  2.74691e-05
  16  0.165821
  17  62.5953
  18  3.84178
  19  45.2596
  20  0.24434
  21  0.270638
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.639e+00  3.842e+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.359e+00  2.706e-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.907e-01  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 358.931 -33.861
Photon Flux Upper Limit: 8.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/197305/likelihoodResults_604022401_604281601_4FGL_J2355.7-3351_daily_bin1407.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) = 4703.11233781
delta logL = 0.116609168036

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4703.11229677
delta logL = 0.116650203544

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4878       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9970       1.0000          .0000       10.000    
     3 'Normalizat'    .79534       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3536       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.

 FCN=   4703.112     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      233 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4839        4.5104        .64791E-02    .22742E-03
   2  Index         1.9971        1.0188        .25806E-01   -.21926E-03
   3  Normalizat    .79535        .19096        .43549E-01    .12745E-04
   4  Prefactor     1.3536        .22201        .53759E-01   -.95852E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.48395
  Index      = 1.99715
  Normalizat = 0.795347
  Prefactor  = 1.35361
 **********
 **   18 **HESSE 
 **********

 FCN=   4703.112     FROM HESSE     STATUS=OK            31 CALLS      264 TOTAL
                     EDM=   .56E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4839        4.4970        .19096E-03   -1.5393    
   2  Index         1.9971        1.0230        .51613E-02   -.64421    
   3  Normalizat    .79535        .22981        .26011E-03   -1.0024    
   4  Prefactor     1.3536        .26731        .23769E-03   -.81727    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.55442e-13
Minuit parameter uncertainties:
  1  4.49763
  2  1.03449
  3  0.230094
  4  0.267579
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/197305': 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) = 4703.11229638
delta logL = 0.116650594851

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  2.484e+00  4.498e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  1.997e+00  1.034e+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.354e+00  2.676e-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.953e-01  2.301e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
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/197305/cmap_HighResolution_604022401_604281601_4FGL_J2355.7-3351_daily_bin1407.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.44e-03', job_status='DONE', photon_flux_upper_limit='8.23e-08', time_completed='2021-09-30 09:31:21.341003', job_id='197305', GAL2='1.35', fit_tolerance='1e-08', EG2='0.80', EG='0.79', time_epoch_completed='1633019481.34', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='1.17e-01', ts2='0.48', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1407' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:31:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 197305: <4FGL_J2355.7-3351_daily_bin1407> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin1407> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 09:20:19 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:20:21 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:20:21 2021
Terminated at Thu Sep 30 09:31:22 2021
Results reported at Thu Sep 30 09:31:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin1407 358.931 -33.8607 604022401 604281601 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 :                                   555.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            663 sec.

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

