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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin1376
RA = 358.931, Dec = -33.8607
tmin = 595987201, tmax = 596246401
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='196321', job_status='RUN', time_executed='2021-09-30 09:16:44.393931', time_epoch_executed='1633018604.39' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='1376'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196321

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196321/ft1_4FGL_J2355.7-3351_daily_bin1376.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196321/ft2_4FGL_J2355.7-3351_daily_bin1376.fits


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

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

Done.
real 3.15
user 2.94
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/196321/ft2_4FGL_J2355.7-3351_daily_bin1376.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/196321/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1376.fits evtable="EVENTS" outfile="/scratch/kocevski/196321/ft1_filtered_4FGL_J2355.7-3351_daily_bin1376.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/196321/ft1_filtered_4FGL_J2355.7-3351_daily_bin1376.fits" evtable="EVENTS" scfile=/scratch/kocevski/196321/ft2_4FGL_J2355.7-3351_daily_bin1376.fits sctable="SC_DATA" outfile=/scratch/kocevski/196321/ltcube_595987201_596246401_4FGL_J2355.7-3351_daily_bin1376.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/196321/ft2_4FGL_J2355.7-3351_daily_bin1376.fits
.....................!
real 12.08
user 11.69
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196321/ft1_filtered_4FGL_J2355.7-3351_daily_bin1376.fits evtable="EVENTS" scfile=/scratch/kocevski/196321/ft2_4FGL_J2355.7-3351_daily_bin1376.fits sctable="SC_DATA" expcube=/scratch/kocevski/196321/ltcube_595987201_596246401_4FGL_J2355.7-3351_daily_bin1376.fits outfile=/scratch/kocevski/196321/expmap_595987201_596246401_4FGL_J2355.7-3351_daily_bin1376.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/196321/ltcube_595987201_596246401_4FGL_J2355.7-3351_daily_bin1376.fits
.....................!
real 190.14
user 184.71
sys 5.05

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/196321/ft1_filtered_4FGL_J2355.7-3351_daily_bin1376.fits scfile=/scratch/kocevski/196321/ft2_4FGL_J2355.7-3351_daily_bin1376.fits outfile=/scratch/kocevski/196321/cmap_595987201_596246401_4FGL_J2355.7-3351_daily_bin1376.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196321/ft1_filtered_4FGL_J2355.7-3351_daily_bin1376.fits scfile=/scratch/kocevski/196321/ft2_4FGL_J2355.7-3351_daily_bin1376.fits outfile=/scratch/kocevski/196321/cmap_HighResolution_595987201_596246401_4FGL_J2355.7-3351_daily_bin1376.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/196321/ft1_filtered_4FGL_J2355.7-3351_daily_bin1376.fits evtable="EVENTS" scfile=/scratch/kocevski/196321/ft2_4FGL_J2355.7-3351_daily_bin1376.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/196321/Model_4FGL_J2355.7-3351_daily_bin1376.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/196321/ft1_filtered_4FGL_J2355.7-3351_daily_bin1376.fits.....................!
real 39.15
user 37.85
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.058       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .49049E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.848       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10518E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17640E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.8834       1.0000         .10000E-03   10000.    
    10 'norm      '    15.773       1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.607       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.183       1.0000         .10000E-03   10000.    
    13 'norm      '    .14179E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10757E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10205E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    47.745       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .70931       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.5371       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=   5001.856     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2205 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.031        47.825       -.44489E-06   -.43772E-04
   2  Prefactor     .10001E-03    2.9367       -.11583E-05** at limit **
   3  Prefactor     .10000E-03    32.262       -.40683E-06** at limit **
   4  Prefactor     19.873        18.637        .12176E-06    .81430E-04
   5  Prefactor     .10000E-03    12.989       -.30374E-06** at limit **
   6  Prefactor     .10000E-03    2.1992       -.24845E-06** at limit **
   7  Prefactor     .10000E-03    12.260       -.39853E-06** at limit **
   8  Prefactor     .10000E-03    7.6386       -.54018E-06** at limit **
   9  norm          2.8872        3.9420        .21396E-08   -.28117E-03
  10  norm          15.776        10.586       -.14475E-06   -.33254E-04
  11  Prefactor     27.668        45.166       -.27543E-05   -.61292E-04
  12  Prefactor     14.229        44.514       -.22761E-06    .53642E-04
  13  norm          .10000E-03    4.5485        .36906E-05** at limit **
  14  Prefactor     .10000E-03    8.0519       -.48291E-07** at limit **
  15  norm          .10000E-03    3.1315        .17966E-05** at limit **
  16  Prefactor     .10000E-03    24.233       -.20175E-06** at limit **
  17  Prefactor     .10000E-03    13.782        .67884E-08** at limit **
  18  Prefactor     .10000E-03    2.5785       -.28824E-06** at limit **
  19  Prefactor     47.739        58.289        .34548E-05    .12543E-03
  20  Normalizat    .70926        .20389        .22885E-06    .21162E-03
  21  Prefactor     1.5369        .22745        .18563E-05    .98152E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.0315
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 19.8726
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 2.88717
  norm       = 15.7762
  Prefactor  = 27.668
  Prefactor  = 14.2292
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 47.7385
  Normalizat = 0.709262
  Prefactor  = 1.53686
 **********
 **   18 **HESSE 
 **********

 FCN=   5001.856     FROM HESSE     STATUS=OK           311 CALLS     2516 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.031        47.862        .65836E-04   -1.4490    
   2  Prefactor     .10001E-03    22.861        .21856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    32.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     19.873        18.620        .89903E-04   -1.4816    
   5  Prefactor     .10000E-03    13.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.2123        .10244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    50.574        .37056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.8872        3.9282        .15771E-03   -1.5368    
  10  norm          15.776        10.583        .10085E-03   -1.4913    
  11  Prefactor     27.668        45.744        .76247E-04   -1.4655    
  12  Prefactor     14.229        44.309        .10636E-03   -1.4953    
  13  norm          .10000E-03    4.4583        .28756E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.0531        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.1445        .24172E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    24.229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.5972        .11097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     47.739        57.167        .58031E-04   -1.4325    
  20  Normalizat    .70926        .24389        .28541E-03   -1.0353    
  21  Prefactor     1.5369        .27440        .23624E-03   -.76513    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.66838e-10
Minuit parameter uncertainties:
  1  47.912
  2  0.00099227
  3  4.46988e-05
  4  18.6255
  5  3.50004e-06
  6  1.90952e-06
  7  3.4095e-05
  8  0.000492611
  9  3.92858
  10  10.584
  11  45.8023
  12  44.4122
  13  4.01169e-05
  14  1.3789e-06
  15  2.35782e-05
  16  7.91032e-05
  17  2.49822e-05
  18  8.754e-06
  19  57.2327
  20  0.244266
  21  0.274667
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  8.754e-06  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.537e+00  2.747e-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.093e-01  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/196321/likelihoodResults_595987201_596246401_4FGL_J2355.7-3351_daily_bin1376.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) = 5001.85779972
delta logL = -0.00181493207947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5001.85598476
delta logL = 2.58160071098e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5686       1.0000          .0000       10.000    
     3 'Normalizat'    .70927       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5369       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=   5001.856     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      253 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.757        .11154E-01** at limit **
   2  Index         2.2118        5.3120        .50000       -.18215E-05
   3  Normalizat    .70926        .12503E-01    .28542E-03   -.10846E-02
   4  Prefactor     1.5369        .14663E-01    .23624E-03   -.12918E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.21184
  Normalizat = 0.709256
  Prefactor  = 1.53686
 **********
 **   18 **HESSE 
 **********

 FCN=   5001.856     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      280 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    191.24        .11621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2118        6.0346        .50000       -.59153    
   3  Normalizat    .70926        .41938E-01    .57084E-04   -1.0353    
   4  Prefactor     1.5369        .49184E-01    .47249E-04   -.76513    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.44357e-07
Minuit parameter uncertainties:
  1  0.000126441
  2  813.475
  3  0.0419394
  4  0.0491859
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196321': 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): 102
logL (Free Index) = 5001.8559831
delta logL = 1.68539736478e-06

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  1.264e-04  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.212e+00  8.135e+02  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.537e+00  4.919e-02  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.093e-01  4.194e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/196321/cmap_HighResolution_595987201_596246401_4FGL_J2355.7-3351_daily_bin1376.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.28e-03', job_status='DONE', photon_flux_upper_limit='6.76e-08', time_completed='2021-09-30 09:26:01.067158', job_id='196321', GAL2='1.54', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1633019161.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.54', dlogl='1.69e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1376' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:26:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 196321: <4FGL_J2355.7-3351_daily_bin1376> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin1376> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 30 09:15:51 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:15:54 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:54 2021
Terminated at Thu Sep 30 09:26:01 2021
Results reported at Thu Sep 30 09:26:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin1376 358.931 -33.8607 595987201 596246401 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 :                                   546.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             358.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   607 sec.
    Turnaround time :                            610 sec.

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

