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


Performing analysis on: 4FGL_J2352.0+1750_daily_bin1445
RA = 358.013, Dec = 17.8394
tmin = 613872001, tmax = 614131201
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='167678', job_status='RUN', time_executed='2021-09-30 07:39:22.637849', time_epoch_executed='1633012762.64' WHERE source_name='4FGL J2352.0+1750' and cadence='daily' and bin_id='1445'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/167678

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/167678/ft1_4FGL_J2352.0+1750_daily_bin1445.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/167678/ft2_4FGL_J2352.0+1750_daily_bin1445.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/167678/ft1_4FGL_J2352.0+1750_daily_bin1445.fits outfile=/scratch/kocevski/167678/ft1_filteredMKT_4FGL_J2352.0+1750_daily_bin1445.fits ra=358.013 dec=17.8394 rad=12.0 tmin=613872001.0 tmax=614131201.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 2.30
user 2.10
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/167678/ft2_4FGL_J2352.0+1750_daily_bin1445.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/167678/ft1_filteredMKT_4FGL_J2352.0+1750_daily_bin1445.fits evtable="EVENTS" outfile="/scratch/kocevski/167678/ft1_filtered_4FGL_J2352.0+1750_daily_bin1445.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.51
user 0.34
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/167678/ft1_filtered_4FGL_J2352.0+1750_daily_bin1445.fits evtable="EVENTS" scfile=/scratch/kocevski/167678/ft2_4FGL_J2352.0+1750_daily_bin1445.fits sctable="SC_DATA" expcube=/scratch/kocevski/167678/ltcube_613872001_614131201_4FGL_J2352.0+1750_daily_bin1445.fits outfile=/scratch/kocevski/167678/expmap_613872001_614131201_4FGL_J2352.0+1750_daily_bin1445.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/167678/ltcube_613872001_614131201_4FGL_J2352.0+1750_daily_bin1445.fits
.....................!
real 190.89
user 185.54
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/167678/ft1_filtered_4FGL_J2352.0+1750_daily_bin1445.fits scfile=/scratch/kocevski/167678/ft2_4FGL_J2352.0+1750_daily_bin1445.fits outfile=/scratch/kocevski/167678/cmap_613872001_614131201_4FGL_J2352.0+1750_daily_bin1445.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/167678/ft1_filtered_4FGL_J2352.0+1750_daily_bin1445.fits scfile=/scratch/kocevski/167678/ft2_4FGL_J2352.0+1750_daily_bin1445.fits outfile=/scratch/kocevski/167678/cmap_HighResolution_613872001_614131201_4FGL_J2352.0+1750_daily_bin1445.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.56
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/167678/ft1_filtered_4FGL_J2352.0+1750_daily_bin1445.fits', '/scratch/kocevski/167678/ft2_4FGL_J2352.0+1750_daily_bin1445.fits', expMap='/scratch/kocevski/167678/expmap_613872001_614131201_4FGL_J2352.0+1750_daily_bin1445.fits', expCube='/scratch/kocevski/167678/ltcube_613872001_614131201_4FGL_J2352.0+1750_daily_bin1445.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/167678/Model_4FGL_J2352.0+1750_daily_bin1445.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/167678/ft1_filtered_4FGL_J2352.0+1750_daily_bin1445.fits
Spacecraft file(s): /scratch/kocevski/167678/ft2_4FGL_J2352.0+1750_daily_bin1445.fits
Exposure map: /scratch/kocevski/167678/expmap_613872001_614131201_4FGL_J2352.0+1750_daily_bin1445.fits
Exposure cube: /scratch/kocevski/167678/ltcube_613872001_614131201_4FGL_J2352.0+1750_daily_bin1445.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/167678/Model_4FGL_J2352.0+1750_daily_bin1445.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) = 9169.20114567

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .51807       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .55721E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.4570       1.0000         .10000E-03   10000.    
     4 'Prefactor '    44.934       1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.070       1.0000         .10000E-03   10000.    
     6 'norm      '    7.4025       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.9791       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.6688       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.210       1.0000         .10000E-03   10000.    
    12 'norm      '    3.4283       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.556       1.0000         .10000E-03   10000.    
    15 'norm      '    18.865       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.1846       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .63565       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0649       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=   9169.189     FROM MIGRAD    STATUS=CONVERGED     81 CALLS     1504 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .51812        2.6005       -.63531E-07    .30152E-04
   2  Prefactor     .10000E-03    348.43        .10092E-04** at limit **
   3  Prefactor     8.4544        11.467        .26088E-07    .19311E-04
   4  Prefactor     44.928        1.1158        .24460E-07   -.18656E-02
   5  Prefactor     36.071        6.3297        .10341E-06    .29530E-03
   6  norm          7.4031        1.0490       -.14210E-07    .11434E-02
   7  Prefactor     .10000E-03    13.830        .17968E-05** at limit **
   8  Prefactor     2.9790        3.7980       -.26584E-06   -.11299E-02
   9  Prefactor     .10000E-03    3.7162       -.43862E-06** at limit **
  10  Prefactor     5.6696        1.2772       -.11180E-06    .66205E-03
  11  Prefactor     10.207        1.2223        .14193E-07   -.40765E-03
  12  norm          3.4285        4.7629       -.72520E-06    .28036E-03
  13  Prefactor     .10000E-03    2.1799        .30447E-06** at limit **
  14  Prefactor     16.558        1.1123       -.32088E-07    .13202E-02
  15  norm          18.865        1.0494        .68657E-08   -.10615E-02
  16  Prefactor     1.1848        3.0136        .23220E-06   -.91520E-03
  17  Normalizat    .63563        .19406        .31904E-05    .24792E-05
  18  Prefactor     1.0649        .12092       -.14485E-05    .50943E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.518122
  Prefactor  = 0.000100003
  Prefactor  = 8.4544
  Prefactor  = 44.9284
  Prefactor  = 36.0712
  norm       = 7.40308
  Prefactor  = 0.0001
  Prefactor  = 2.97903
  Prefactor  = 0.0001
  Prefactor  = 5.66957
  Prefactor  = 10.2075
  norm       = 3.42845
  Prefactor  = 0.0001
  Prefactor  = 16.5582
  norm       = 18.8651
  Prefactor  = 1.1848
  Normalizat = 0.635632
  Prefactor  = 1.06492
 **********
 **   18 **HESSE 
 **********

 FCN=   9169.189     FROM HESSE     STATUS=OK           298 CALLS     1802 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .51812        1.9628        .37830E-01   -1.5564    
   2  Prefactor     .10000E-03    9.0945        .92980E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.4544        12.276        .34462E-02   -1.5126    
   4  Prefactor     44.928        33.761        .14953E-02   -1.4366    
   5  Prefactor     36.071        6.3790        .16682E-02   -1.4506    
   6  norm          7.4031        7.2151        .36853E-02   -1.5164    
   7  Prefactor     .10000E-03    13.779        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.9790        4.3703        .58806E-02   -1.5363    
   9  Prefactor     .10000E-03    3.5906        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.6696        7.8969        .42178E-02   -1.5232    
  11  Prefactor     10.207        9.7812        .31350E-02   -1.5069    
  12  norm          3.4285        4.9879        .54615E-02   -1.5338    
  13  Prefactor     .10000E-03    2.1650        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.558        16.827        .24608E-02   -1.4894    
  15  norm          18.865        12.722        .23053E-02   -1.4839    
  16  Prefactor     1.1848        6.3433        .10485E-01   -1.5490    
  17  Normalizat    .63563        .17809        .80352E-01   -1.0649    
  18  Prefactor     1.0649        .10688        .39105E-01   -.90596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.58088e-06
Minuit parameter uncertainties:
  1  1.96301
  2  0.000304182
  3  12.2796
  4  33.7749
  5  6.37913
  6  7.21593
  7  7.97385e-06
  8  4.3708
  9  1.52408e-06
  10  7.89838
  11  9.78272
  12  4.98854
  13  2.58798e-07
  14  16.832
  15  12.7241
  16  5.48359
  17  0.178252
  18  0.106897
Done.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.185e+00  5.484e+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.065e+00  1.069e-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:  6.356e-01  1.783e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 358.013 17.839
Photon Flux Upper Limit: 6.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/167678/likelihoodResults_613872001_614131201_4FGL_J2352.0+1750_daily_bin1445.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) = 9164.75897755
delta logL = 4.42978298484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9164.70897414
delta logL = 4.4797864021

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13808E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    5.8842       1.0000          .0000       10.000    
     3 'Normalizat'    .44987       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1447       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.

 FCN=   9164.709     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      294 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13711E-02    .76267E-02    .40820E-03** at limit **
   2  Index         5.8868        1.4467        .64535E-01   -.56557E-03
   3  Normalizat    .44973        .51223E-01    .94635E-01   -.87607E-04
   4  Prefactor     1.1448        .33111E-01    .36090E-01   -.26516E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00137115
  Index      = 5.88679
  Normalizat = 0.449731
  Prefactor  = 1.1448
 **********
 **   18 **HESSE 
 **********

 FCN=   9164.709     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      325 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13711E-02    .13946E-01    .15594E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.8868        2.1241        .26628E-02    .17830    
   3  Normalizat    .44973        .17128        .41930E-03   -1.1481    
   4  Prefactor     1.1448        .10925        .17601E-03   -.88047    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.17052e-09
Minuit parameter uncertainties:
  1  0.00842092
  2  2.19633
  3  0.171482
  4  0.109274
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/167678': 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) = 9164.70897292
delta logL = 4.47978762354

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.371e-03  8.421e-03  1.000e-04  1.000e+04 ( 1.000e-13)
477        Index:  5.887e+00  2.196e+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.145e+00  1.093e-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:  4.497e-01  1.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.24
Ra Dec: 358.013 17.839
Photon Index (Free Index): 5.89 +/- 2.20
Photon Flux (Free Index): 1.16e-07 +/- 5.01e-08
Energy Flux (Free Index): 1.45e-05 +/- 6.65e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/167678/cmap_HighResolution_613872001_614131201_4FGL_J2352.0+1750_daily_bin1445.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', comment='SUCCESS', energy_flux2='1.45e-05', dlogl='4.48e+00', photon_flux2='1.16e-07', job_status='DONE', time_completed='2021-09-30 07:50:30.913049', photon_index_error2='2.20', photon_index2='5.89', ts='0.05', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='6.25e-08', energy_flux_error2='6.65e-06', EG='0.64', time_epoch_completed='1633013430.91', return_code='0', job_id='167678', GAL2='1.14', EG2='0.45', return_code2='102', photon_flux_error2='5.01e-08', ts2='10.24', photon_index='2.07' WHERE bin_id='1445' AND source_name='4FGL J2352.0+1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:50:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 167678: <4FGL_J2352.0+1750_daily_bin1445> in cluster <slac> Done

Job <4FGL_J2352.0+1750_daily_bin1445> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 07:36:18 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:36:19 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:36:19 2021
Terminated at Thu Sep 30 07:50:31 2021
Results reported at Thu Sep 30 07:50:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2352.0+1750_daily_bin1445 358.013 17.8394 613872001 614131201 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 :                                   661.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             288.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            853 sec.

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

