/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 106 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 = 7393
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2352.0+1750_daily_bin75
RA = 358.013, Dec = 17.8394
tmin = 258768001, tmax = 259027201
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='162920', job_status='RUN', time_executed='2021-09-30 07:22:27.257949', time_epoch_executed='1633011747.26' WHERE source_name='4FGL J2352.0+1750' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/162920

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/162920/ft1_4FGL_J2352.0+1750_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/162920/ft2_4FGL_J2352.0+1750_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/162920/ft1_4FGL_J2352.0+1750_daily_bin75.fits outfile=/scratch/kocevski/162920/ft1_filteredMKT_4FGL_J2352.0+1750_daily_bin75.fits ra=358.013 dec=17.8394 rad=12.0 tmin=258768001.0 tmax=259027201.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 1.22
user 0.96
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/162920/ft2_4FGL_J2352.0+1750_daily_bin75.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/162920/ft1_filteredMKT_4FGL_J2352.0+1750_daily_bin75.fits evtable="EVENTS" outfile="/scratch/kocevski/162920/ft1_filtered_4FGL_J2352.0+1750_daily_bin75.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.50
user 0.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/162920/ft1_filtered_4FGL_J2352.0+1750_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/162920/ft2_4FGL_J2352.0+1750_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/162920/ltcube_258768001_259027201_4FGL_J2352.0+1750_daily_bin75.fits outfile=/scratch/kocevski/162920/expmap_258768001_259027201_4FGL_J2352.0+1750_daily_bin75.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/162920/ltcube_258768001_259027201_4FGL_J2352.0+1750_daily_bin75.fits
.....................!
real 191.59
user 186.09
sys 5.10

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/162920/ft1_filtered_4FGL_J2352.0+1750_daily_bin75.fits scfile=/scratch/kocevski/162920/ft2_4FGL_J2352.0+1750_daily_bin75.fits outfile=/scratch/kocevski/162920/cmap_258768001_259027201_4FGL_J2352.0+1750_daily_bin75.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.58
user 0.37
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.9640       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.4387       1.0000         .10000E-03   10000.    
     6 'norm      '    9.2943       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.4055       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.1012       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    13.262       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .31842E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.534       1.0000         .10000E-03   10000.    
    15 'norm      '    12.383       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.8622       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .86996       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2405       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=   7700.022     FROM MIGRAD    STATUS=CONVERGED    364 CALLS     1516 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .96164       -.13351E-07** at limit **
   2  Prefactor     2.9649        5.7642        .33274E-06   -.11078E-02
   3  Prefactor     .10000E-03    7.8946        .76560E-06** at limit **
   4  Prefactor     .10000E-03    13.859        .56778E-06** at limit **
   5  Prefactor     6.4400        4.2889        .14740E-06   -.12414E-02
   6  norm          9.2948        8.2451        .51206E-07    .22221E-05
   7  Prefactor     .10000E-03    19.023        .12722E-06** at limit **
   8  Prefactor     2.4049        3.7535        .48195E-06   -.20264E-02
   9  Prefactor     8.1020        6.2312        .42800E-07   -.70403E-03
  10  Prefactor     .10000E-03    7.3319        .17374E-06** at limit **
  11  Prefactor     .10000E-03    8.3778       -.45909E-06** at limit **
  12  norm          13.237        9.3356       -.48156E-05   -.11106E-02
  13  Prefactor     .58717E-01    4.6403        .23839E-05   -.21054E-03
  14  Prefactor     35.527        23.077        .29108E-05   -.14077E-03
  15  norm          12.379        14.721        .67921E-05   -.16837E-04
  16  Prefactor     1.8638        7.2784       -.66784E-06   -.11485E-03
  17  Normalizat    .86974        .21091       -.20295E-07   -.34395E-03
  18  Prefactor     1.2405        .13169       -.33482E-06   -.42665E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 2.96485
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.43997
  norm       = 9.29482
  Prefactor  = 0.0001
  Prefactor  = 2.4049
  Prefactor  = 8.10203
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.2375
  Prefactor  = 0.0587165
  Prefactor  = 35.5271
  norm       = 12.3785
  Prefactor  = 1.86381
  Normalizat = 0.869735
  Prefactor  = 1.24054
 **********
 **   18 **HESSE 
 **********

 FCN=   7700.022     FROM HESSE     STATUS=OK           254 CALLS     1770 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .97571        .83957E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.9649        6.2658        .11793E-02   -1.5364    
   3  Prefactor     .10000E-03    7.9500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.4400        4.3974        .71908E-03   -1.5200    
   6  norm          9.2948        8.2473        .13146E-03   -1.5098    
   7  Prefactor     .10000E-03    19.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.4049        6.2522        .13199E-02   -1.5398    
   9  Prefactor     8.1020        6.3029        .70431E-03   -1.5139    
  10  Prefactor     .10000E-03    7.3557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.3998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          13.237        10.059        .10999E-03   -1.4980    
  13  Prefactor     .58717E-01    12.234        .51689E-01   -1.5660    
  14  Prefactor     35.527        22.964        .67229E-04   -1.4515    
  15  norm          12.379        14.482        .11383E-03   -1.5004    
  16  Prefactor     1.8638        7.2879        .30534E-03   -1.5435    
  17  Normalizat    .86974        .23894        .35240E-03   -.97532    
  18  Prefactor     1.2405        .15005        .19500E-03   -.85093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.91426e-09
Minuit parameter uncertainties:
  1  3.58761e-07
  2  6.26723
  3  4.29379e-06
  4  5.08744e-06
  5  4.3976
  6  8.24835
  7  1.99076e-07
  8  6.25386
  9  6.30342
  10  7.66383e-05
  11  7.87271e-06
  12  10.0604
  13  1.69401
  14  22.9698
  15  14.4863
  16  7.29142
  17  0.239232
  18  0.150106
Done.

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

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  1.864e+00  7.291e+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.241e+00  1.501e-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:  8.697e-01  2.392e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/162920/likelihoodResults_258768001_259027201_4FGL_J2352.0+1750_daily_bin75.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) = 7699.16000632
delta logL = 0.861618777778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7699.14096547
delta logL = 0.880659626573

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33182       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7407       1.0000          .0000       10.000    
     3 'Normalizat'    .76316       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2806       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=   7699.141     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      277 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32708        3.4994        .83850E-02    .19888E-02
   2  Index         3.7465        2.0006        .85156E-01    .23576E-03
   3  Normalizat    .76334        .47768E-01    .84531E-01    .48969E-05
   4  Prefactor     1.2805        .30882E-01    .32956E-01    .47358E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.32708
  Index      = 3.74648
  Normalizat = 0.763335
  Prefactor  = 1.28054
 **********
 **   18 **HESSE 
 **********

 FCN=   7699.141     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      312 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     .32708        9.1101        .38161E-03   -1.5594    
   2  Index         3.7465        3.6752        .43443E-02   -.25341    
   3  Normalizat    .76334        .18598        .37434E-03   -1.0144    
   4  Prefactor     1.2805        .11712        .19234E-03   -.83888    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.43179e-07
Minuit parameter uncertainties:
  1  3.45243
  2  4.1734
  3  0.186134
  4  0.117148
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/162920': 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) = 7699.14095549
delta logL = 0.88066960745

Extracting fit parameters...

4FGL J2352.0+1750
   Spectrum: PowerLaw
476    Prefactor:  3.271e-01  3.452e+00  1.000e-04  1.000e+04 ( 1.000e-13)
477        Index:  3.746e+00  4.173e+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.281e+00  1.171e-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.633e-01  1.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.19
Ra Dec: 358.013 17.839
Photon Index (Free Index): 3.75 +/- 4.17
Photon Flux (Free Index): 8.34e-08 +/- 7.02e-08
Energy Flux (Free Index): 1.31e-05 +/- 1.18e-05

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/162920/cmap_HighResolution_258768001_259027201_4FGL_J2352.0+1750_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.49e-03', comment='SUCCESS', energy_flux2='1.31e-05', dlogl='8.81e-01', photon_flux2='8.34e-08', job_status='DONE', time_completed='2021-09-30 07:32:13.617848', photon_index_error2='4.17', photon_index2='3.75', ts='0.07', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', photon_flux_upper_limit='8.60e-08', energy_flux_error2='1.18e-05', EG='0.87', time_epoch_completed='1633012333.62', return_code='0', job_id='162920', GAL2='1.28', EG2='0.76', return_code2='102', photon_flux_error2='7.02e-08', ts2='2.19', photon_index='2.07' WHERE bin_id='75' AND source_name='4FGL J2352.0+1750' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:32:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 162920: <4FGL_J2352.0+1750_daily_bin75> in cluster <slac> Done

Job <4FGL_J2352.0+1750_daily_bin75> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 07:20:32 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:20:33 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:20:33 2021
Terminated at Thu Sep 30 07:32:14 2021
Results reported at Thu Sep 30 07:32:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2352.0+1750_daily_bin75 358.013 17.8394 258768001 259027201 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 :                                   585.28 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             310.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   700 sec.
    Turnaround time :                            702 sec.

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

