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


Performing analysis on: 4FGL_J2352.0+1750_daily_bin1260
RA = 358.013, Dec = 17.8394
tmin = 565920001, tmax = 566179201
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='167399', job_status='RUN', time_executed='2021-09-30 07:38:15.439350', time_epoch_executed='1633012695.44' WHERE source_name='4FGL J2352.0+1750' and cadence='daily' and bin_id='1260'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/167399

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/167399/ft1_4FGL_J2352.0+1750_daily_bin1260.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/167399/ft2_4FGL_J2352.0+1750_daily_bin1260.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/167399/ft1_4FGL_J2352.0+1750_daily_bin1260.fits outfile=/scratch/kocevski/167399/ft1_filteredMKT_4FGL_J2352.0+1750_daily_bin1260.fits ra=358.013 dec=17.8394 rad=12.0 tmin=565920001.0 tmax=566179201.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.64
user 3.39
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/167399/ft2_4FGL_J2352.0+1750_daily_bin1260.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/167399/ft2_4FGL_J2352.0+1750_daily_bin1260.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/167399/ft1_filteredMKT_4FGL_J2352.0+1750_daily_bin1260.fits evtable="EVENTS" outfile="/scratch/kocevski/167399/ft1_filtered_4FGL_J2352.0+1750_daily_bin1260.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/167399/ft1_filtered_4FGL_J2352.0+1750_daily_bin1260.fits" evtable="EVENTS" scfile=/scratch/kocevski/167399/ft2_4FGL_J2352.0+1750_daily_bin1260.fits sctable="SC_DATA" outfile=/scratch/kocevski/167399/ltcube_565920001_566179201_4FGL_J2352.0+1750_daily_bin1260.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/167399/ft2_4FGL_J2352.0+1750_daily_bin1260.fits
.....................!
real 13.47
user 13.11
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/167399/ft1_filtered_4FGL_J2352.0+1750_daily_bin1260.fits evtable="EVENTS" scfile=/scratch/kocevski/167399/ft2_4FGL_J2352.0+1750_daily_bin1260.fits sctable="SC_DATA" expcube=/scratch/kocevski/167399/ltcube_565920001_566179201_4FGL_J2352.0+1750_daily_bin1260.fits outfile=/scratch/kocevski/167399/expmap_565920001_566179201_4FGL_J2352.0+1750_daily_bin1260.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/167399/ltcube_565920001_566179201_4FGL_J2352.0+1750_daily_bin1260.fits
.....................!
real 190.69
user 185.40
sys 4.98

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

Setting source of interest to:
4FGL J2352.0+1750 @ 358.013 17.8394

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/167399/ft1_filtered_4FGL_J2352.0+1750_daily_bin1260.fits scfile=/scratch/kocevski/167399/ft2_4FGL_J2352.0+1750_daily_bin1260.fits outfile=/scratch/kocevski/167399/cmap_565920001_566179201_4FGL_J2352.0+1750_daily_bin1260.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.013 yref=17.8394 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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/167399/ft1_filtered_4FGL_J2352.0+1750_daily_bin1260.fits scfile=/scratch/kocevski/167399/ft2_4FGL_J2352.0+1750_daily_bin1260.fits outfile=/scratch/kocevski/167399/cmap_HighResolution_565920001_566179201_4FGL_J2352.0+1750_daily_bin1260.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.013 yref=17.8394 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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/167399/ft1_filtered_4FGL_J2352.0+1750_daily_bin1260.fits evtable="EVENTS" scfile=/scratch/kocevski/167399/ft2_4FGL_J2352.0+1750_daily_bin1260.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/167399/Model_4FGL_J2352.0+1750_daily_bin1260.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/167399/ft1_filtered_4FGL_J2352.0+1750_daily_bin1260.fits.....................!
real 74.03
user 72.29
sys 1.61

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/167399/ft1_filtered_4FGL_J2352.0+1750_daily_bin1260.fits', '/scratch/kocevski/167399/ft2_4FGL_J2352.0+1750_daily_bin1260.fits', expMap='/scratch/kocevski/167399/expmap_565920001_566179201_4FGL_J2352.0+1750_daily_bin1260.fits', expCube='/scratch/kocevski/167399/ltcube_565920001_566179201_4FGL_J2352.0+1750_daily_bin1260.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/167399/Model_4FGL_J2352.0+1750_daily_bin1260.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2352.0+1750'

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.218e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/167399/ft1_filtered_4FGL_J2352.0+1750_daily_bin1260.fits
Spacecraft file(s): /scratch/kocevski/167399/ft2_4FGL_J2352.0+1750_daily_bin1260.fits
Exposure map: /scratch/kocevski/167399/expmap_565920001_566179201_4FGL_J2352.0+1750_daily_bin1260.fits
Exposure cube: /scratch/kocevski/167399/ltcube_565920001_566179201_4FGL_J2352.0+1750_daily_bin1260.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/167399/Model_4FGL_J2352.0+1750_daily_bin1260.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) = 6538.07772084

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9312       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10192E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.9369       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.7180       1.0000         .10000E-03   10000.    
     6 'norm      '    8.0772       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.1032       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.986       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10427E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.7633       1.0000         .10000E-03   10000.    
    12 'norm      '    4.4113       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.7040       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.154       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.0995       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .79620       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2026       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6537.121     FROM MIGRAD    STATUS=CONVERGED    342 CALLS     1482 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9295        4.5661       -.17262E-06   -.10799E-03
   2  Prefactor     .10000E-03    10.208        .52168E-07** at limit **
   3  Prefactor     3.9358        7.6888       -.64559E-07   -.38471E-04
   4  Prefactor     .10000E-03    29.464       -.15571E-05** at limit **
   5  Prefactor     4.7176        3.8550       -.14493E-06   -.70998E-04
   6  norm          8.0775        8.2496       -.36151E-08    .10151E-04
   7  Prefactor     7.1042        26.921        .14927E-05    .49487E-05
   8  Prefactor     11.986        9.4178        .24555E-07   -.24563E-03
   9  Prefactor     .10000E-03    3.4132        .96498E-08** at limit **
  10  Prefactor     .10000E-03    19.988       -.44628E-06** at limit **
  11  Prefactor     5.7642        16.085        .67740E-06   -.44159E-05
  12  norm          4.3814        12.205       -.38207E-05   -.19128E-03
  13  Prefactor     1.7286        14.384        .67220E-05    .42580E-04
  14  Prefactor     .10000E-03    28.643        .39291E-05** at limit **
  15  norm          10.144        16.842       -.62539E-05   -.15458E-03
  16  Prefactor     3.0995        4.2150        .68425E-06   -.13639E-02
  17  Normalizat    .79622        .23472        .22088E-06   -.51721E-04
  18  Prefactor     1.2026        .14098       -.44711E-07   -.78893E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.92953
  Prefactor  = 0.0001
  Prefactor  = 3.93582
  Prefactor  = 0.0001
  Prefactor  = 4.71765
  norm       = 8.07752
  Prefactor  = 7.10418
  Prefactor  = 11.9856
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.76423
  norm       = 4.38137
  Prefactor  = 1.72855
  Prefactor  = 0.0001
  norm       = 10.1443
  Prefactor  = 3.09954
  Normalizat = 0.796216
  Prefactor  = 1.20256
 **********
 **   18 **HESSE 
 **********

 FCN=   6537.121     FROM HESSE     STATUS=OK           250 CALLS     1732 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9295        4.5807        .13707E-03   -1.5221    
   2  Prefactor     .10000E-03    10.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.9358        7.6699        .20331E-03   -1.5311    
   4  Prefactor     .10000E-03    29.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.7176        3.8500        .13636E-03   -1.5274    
   6  norm          8.0775        8.2517        .14107E-03   -1.5139    
   7  Prefactor     7.1042        26.891        .15051E-03   -1.5175    
   8  Prefactor     11.986        9.4616        .57855E-03   -1.5015    
   9  Prefactor     .10000E-03    3.4352        .14580E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    20.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.7642        16.063        .16730E-03   -1.5228    
  12  norm          4.3814        12.081        .19174E-03   -1.5289    
  13  Prefactor     1.7286        14.198        .32217E-03   -1.5445    
  14  Prefactor     .10000E-03    28.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.144        16.745        .12575E-03   -1.5071    
  16  Prefactor     3.0995        9.0056        .11517E-02   -1.5356    
  17  Normalizat    .79622        .26447        .37156E-03   -1.0021    
  18  Prefactor     1.2026        .15931        .19361E-03   -.86253    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.02445e-09
Minuit parameter uncertainties:
  1  4.58099
  2  6.91639e-06
  3  7.67185
  4  4.86875e-05
  5  3.85017
  6  8.25289
  7  26.9372
  8  9.46274
  9  1.72378e-06
  10  7.13214e-05
  11  16.0748
  12  12.0876
  13  9.91103
  14  0.000126645
  15  16.7531
  16  9.00956
  17  0.264894
  18  0.159371
Done.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  3.100e+00  9.010e+00  1.000e-04  1.000e+04 ( 1.000e-13)
477        Index:  2.066e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.203e+00  1.594e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  7.962e-01  2.649e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 358.013 17.839
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/167399/likelihoodResults_565920001_566179201_4FGL_J2352.0+1750_daily_bin1260.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) = 6535.72523144
delta logL = 1.39542017264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6535.2149264
delta logL = 1.90572521131

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     '    6.9434       1.0000          .0000       10.000    
     3 'Normalizat'    .60969       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2857       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6535.215     FROM MIGRAD    STATUS=CONVERGED    202 CALLS      538 TOTAL
                     EDM=   .34E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .11752E-02    .17755E-06** at limit **
   2  Index         6.9434        .21281       -.23086E-05   -.12445E-04
   3  Normalizat    .60983        .26578       -.11244E-04   -.11443E-03
   4  Prefactor     1.2856        .16400        .68572E-05   -.13197E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 6.94338
  Normalizat = 0.60983
  Prefactor  = 1.28564
 **********
 **   18 **HESSE 
 **********

 FCN=   6535.215     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      581 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .22272E-02    .29431E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.9434        1.7487        .76873E-01    .39919    
   3  Normalizat    .60983        .66705E-01    .94751E-01   -1.0757    
   4  Prefactor     1.2856        .40642E-01    .32863E-01   -.83735    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.09364e-09
Minuit parameter uncertainties:
  1  3.09838e-09
  2  1.79371
  3  0.0667142
  4  0.0406425
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/167399': 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) = 6535.21492459
delta logL = 1.90572702521

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.000e-04  3.098e-09  1.000e-04  1.000e+04 ( 1.000e-13)
477        Index:  6.943e+00  1.794e+00  0.000e+00  1.000e+01 (-1.000e+00)
478        Scale:  1.963e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  1.286e+00  4.064e-02  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  6.098e-01  6.671e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.58
Ra Dec: 358.013 17.839
Photon Index (Free Index): 6.94 +/- 1.79
Photon Flux (Free Index): 1.62e-07 +/- 8.05e-07
Energy Flux (Free Index): 1.94e-05 +/- 9.56e-05

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/167399/cmap_HighResolution_565920001_566179201_4FGL_J2352.0+1750_daily_bin1260.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.32e-03', comment='SUCCESS', energy_flux2='1.94e-05', dlogl='1.91e+00', photon_flux2='1.62e-07', job_status='DONE', time_completed='2021-09-30 07:47:54.738609', photon_index_error2='1.79', photon_index2='6.94', ts='0.14', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='9.56e-05', EG='0.80', time_epoch_completed='1633013274.74', return_code='0', job_id='167399', GAL2='1.29', EG2='0.61', return_code2='102', photon_flux_error2='8.05e-07', ts2='4.58', photon_index='2.07' WHERE bin_id='1260' AND source_name='4FGL J2352.0+1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:47:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 167399: <4FGL_J2352.0+1750_daily_bin1260> in cluster <slac> Done

Job <4FGL_J2352.0+1750_daily_bin1260> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 07:35:54 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:35:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 07:35:56 2021
Terminated at Thu Sep 30 07:47:55 2021
Results reported at Thu Sep 30 07:47:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2352.0+1750_daily_bin1260 358.013 17.8394 565920001 566179201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2352.0+1750 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   565.30 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             327.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   719 sec.
    Turnaround time :                            721 sec.

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

