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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1324
RA = 358.322, Dec = 31.5927
tmin = 582508801, tmax = 582768001
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='174776', job_status='RUN', time_executed='2021-09-30 08:04:18.452423', time_epoch_executed='1633014258.45' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1324'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/174776

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/174776/ft1_4FGL_J2353.2+3135_daily_bin1324.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/174776/ft2_4FGL_J2353.2+3135_daily_bin1324.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/174776/ft1_4FGL_J2353.2+3135_daily_bin1324.fits outfile=/scratch/kocevski/174776/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1324.fits ra=358.322 dec=31.5927 rad=12.0 tmin=582508801.0 tmax=582768001.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.66
user 3.45
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/174776/ft2_4FGL_J2353.2+3135_daily_bin1324.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/174776/ft2_4FGL_J2353.2+3135_daily_bin1324.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/174776/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1324.fits evtable="EVENTS" outfile="/scratch/kocevski/174776/ft1_filtered_4FGL_J2353.2+3135_daily_bin1324.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/174776/ft1_filtered_4FGL_J2353.2+3135_daily_bin1324.fits" evtable="EVENTS" scfile=/scratch/kocevski/174776/ft2_4FGL_J2353.2+3135_daily_bin1324.fits sctable="SC_DATA" outfile=/scratch/kocevski/174776/ltcube_582508801_582768001_4FGL_J2353.2+3135_daily_bin1324.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/174776/ft2_4FGL_J2353.2+3135_daily_bin1324.fits
.....................!
real 11.80
user 11.40
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/174776/ft1_filtered_4FGL_J2353.2+3135_daily_bin1324.fits evtable="EVENTS" scfile=/scratch/kocevski/174776/ft2_4FGL_J2353.2+3135_daily_bin1324.fits sctable="SC_DATA" expcube=/scratch/kocevski/174776/ltcube_582508801_582768001_4FGL_J2353.2+3135_daily_bin1324.fits outfile=/scratch/kocevski/174776/expmap_582508801_582768001_4FGL_J2353.2+3135_daily_bin1324.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/174776/ltcube_582508801_582768001_4FGL_J2353.2+3135_daily_bin1324.fits
.....................!
real 190.58
user 185.51
sys 4.72

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 J2353.2+3135 @ 358.322 31.5927

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/174776/ft1_filtered_4FGL_J2353.2+3135_daily_bin1324.fits scfile=/scratch/kocevski/174776/ft2_4FGL_J2353.2+3135_daily_bin1324.fits outfile=/scratch/kocevski/174776/cmap_582508801_582768001_4FGL_J2353.2+3135_daily_bin1324.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.322 yref=31.5927 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/174776/ft1_filtered_4FGL_J2353.2+3135_daily_bin1324.fits scfile=/scratch/kocevski/174776/ft2_4FGL_J2353.2+3135_daily_bin1324.fits outfile=/scratch/kocevski/174776/cmap_HighResolution_582508801_582768001_4FGL_J2353.2+3135_daily_bin1324.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.322 yref=31.5927 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/174776/ft1_filtered_4FGL_J2353.2+3135_daily_bin1324.fits evtable="EVENTS" scfile=/scratch/kocevski/174776/ft2_4FGL_J2353.2+3135_daily_bin1324.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/174776/Model_4FGL_J2353.2+3135_daily_bin1324.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/174776/ft1_filtered_4FGL_J2353.2+3135_daily_bin1324.fits.....................!
real 82.78
user 81.39
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/174776/ft1_filtered_4FGL_J2353.2+3135_daily_bin1324.fits', '/scratch/kocevski/174776/ft2_4FGL_J2353.2+3135_daily_bin1324.fits', expMap='/scratch/kocevski/174776/expmap_582508801_582768001_4FGL_J2353.2+3135_daily_bin1324.fits', expCube='/scratch/kocevski/174776/ltcube_582508801_582768001_4FGL_J2353.2+3135_daily_bin1324.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/174776/Model_4FGL_J2353.2+3135_daily_bin1324.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2353.2+3135'

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  7.403e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  2.631e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
485        Scale:  7.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/174776/ft1_filtered_4FGL_J2353.2+3135_daily_bin1324.fits
Spacecraft file(s): /scratch/kocevski/174776/ft2_4FGL_J2353.2+3135_daily_bin1324.fits
Exposure map: /scratch/kocevski/174776/expmap_582508801_582768001_4FGL_J2353.2+3135_daily_bin1324.fits
Exposure cube: /scratch/kocevski/174776/ltcube_582508801_582768001_4FGL_J2353.2+3135_daily_bin1324.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/174776/Model_4FGL_J2353.2+3135_daily_bin1324.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) = 8073.06052324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2001       1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.9938       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.6313       1.0000         .10000E-03   10000.    
     6 'Prefactor '    39.868       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6118       1.0000         .10000E-03   10000.    
     8 'norm      '    .72572E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.1713       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.713       1.0000         .10000E-03   10000.    
    14 'norm      '    7.3794       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10455E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.8668       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.934       1.0000         .10000E-03   10000.    
    19 'Prefactor '    39.982       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .45933       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1926       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .89525       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8073.059     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2357 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2005        1.8788        .24392E-07    .79166E-03
   2  norm          .10000E-03    11.888       -.10781E-05** at limit **
   3  Prefactor     1.9966        9.0432        .89152E-05    .49730E-03
   4  Prefactor     .10000E-03    6.6518       -.28579E-07** at limit **
   5  Prefactor     2.6304        5.4651        .12278E-06    .55157E-03
   6  Prefactor     39.865        32.942       -.40943E-08   -.46477E-04
   7  Prefactor     1.6019        70.841       -.69548E-07   -.24280E-04
   8  norm          .70452E-01    1.0896        .10351E-05    .26345E-03
   9  Prefactor     .10000E-03    5.5607        .71941E-08** at limit **
  10  norm          3.1711        1.3411       -.92985E-08    .31995E-03
  11  Prefactor     .10000E-03    14.750        .23665E-07** at limit **
  12  Prefactor     .10000E-03    11.903       -.38005E-06** at limit **
  13  Prefactor     16.703        30.175        .49917E-06   -.62532E-04
  14  norm          7.3788        4.5028        .24200E-09    .84106E-03
  15  Prefactor     .10000E-03    22.591       -.72912E-06** at limit **
  16  norm          2.8667        2.1812        .49806E-07    .11486E-03
  17  Prefactor     .10000E-03    23.887       -.94007E-06** at limit **
  18  Prefactor     20.919        35.384        .11917E-05   -.10445E-03
  19  Prefactor     40.010        39.611        .22513E-05    .58891E-04
  20  Prefactor     .41446        54.927       -.38831E-04    .14497E-03
  21  Normalizat    1.1927        .18850        .27458E-05    .38187E-04
  22  Prefactor     .89524        .10023       -.85397E-06   -.81515E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.20052
  norm       = 0.0001
  Prefactor  = 1.99655
  Prefactor  = 0.0001
  Prefactor  = 2.63045
  Prefactor  = 39.8646
  Prefactor  = 1.60186
  norm       = 0.0704525
  Prefactor  = 0.0001
  norm       = 3.17112
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 16.7034
  norm       = 7.37881
  Prefactor  = 0.0001
  norm       = 2.86674
  Prefactor  = 0.0001
  Prefactor  = 20.919
  Prefactor  = 40.0103
  Prefactor  = 0.414455
  Normalizat = 1.19266
  Prefactor  = 0.895236
 **********
 **   18 **HESSE 
 **********

 FCN=   8073.059     FROM HESSE     STATUS=OK           348 CALLS     2705 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2005        1.8408        .14909E-03   -1.5489    
   2  norm          .10000E-03    11.976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.9966        9.7369        .29338E-03   -1.5425    
   4  Prefactor     .10000E-03    6.6942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.6304        5.4762        .25139E-03   -1.5384    
   6  Prefactor     39.865        32.972        .63482E-04   -1.4444    
   7  Prefactor     1.6019        72.306        .33361E-03   -1.5455    
   8  norm          .70452E-01    4.2000        .18018E-02   -1.5655    
   9  Prefactor     .10000E-03    5.5613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.1711        1.3408        .65321E-04   -1.5352    
  11  Prefactor     .10000E-03    14.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.703        30.221        .97970E-04   -1.4890    
  14  norm          7.3788        4.4907        .14349E-03   -1.5165    
  15  Prefactor     .10000E-03    22.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.8667        2.1854        .11221E-03   -1.5369    
  17  Prefactor     .10000E-03    24.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.919        35.510        .87541E-04   -1.4793    
  19  Prefactor     40.010        40.720        .31696E-03   -1.4442    
  20  Prefactor     .41446        64.438        .42394E-02   -1.5579    
  21  Normalizat    1.1927        .21985        .29240E-03   -.86830    
  22  Prefactor     .89524        .11799        .18520E-03   -.96308    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05701e-09
Minuit parameter uncertainties:
  1  1.84087
  2  5.8556e-05
  3  8.82032
  4  6.25039e-06
  5  5.47725
  6  32.9866
  7  21.5514
  8  1.08724
  9  3.61249e-06
  10  1.34086
  11  0.00036428
  12  7.10719e-06
  13  30.2486
  14  4.4909
  15  0.000135168
  16  2.18541
  17  0.000127188
  18  35.5456
  19  40.7487
  20  10.3458
  21  0.220025
  22  0.118022
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  2.092e+01  3.555e+01  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  2.631e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
485        Scale:  7.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  8.952e-01  1.180e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.193e+00  2.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.41
Ra Dec: 358.322 31.593
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/174776/likelihoodResults_582508801_582768001_4FGL_J2353.2+3135_daily_bin1324.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) = 8073.02852612
delta logL = 0.0308141095893

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8073.0224754
delta logL = 0.0368648258309

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.382       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8982       1.0000          .0000       10.000    
     3 'Normalizat'    1.1852       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89773       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+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=   8073.022     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      266 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.379        36.617        .96066E-04    .93964E-04
   2  Index         2.8988        1.1100        .10501E-01    .46713E-04
   3  Normalizat    1.1858        .21263        .29313E-03   -.41292E-03
   4  Prefactor     .89736        .11682        .18500E-03   -.53833E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.3795
  Index      = 2.89877
  Normalizat = 1.18581
  Prefactor  = 0.897365
 **********
 **   18 **HESSE 
 **********

 FCN=   8073.022     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.379        33.393        .38426E-05   -1.4874    
   2  Index         2.8988        1.0128        .42005E-03   -.43372    
   3  Normalizat    1.1858        .21289        .58627E-04   -.87042    
   4  Prefactor     .89736        .11688        .37001E-04   -.96233    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1147e-10
Minuit parameter uncertainties:
  1  33.4291
  2  1.02137
  3  0.213049
  4  0.116916
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/174776': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8073.02246985
delta logL = 0.0368703792865

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  1.738e+01  3.343e+01  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  2.899e+00  1.021e+00  0.000e+00  1.000e+01 (-1.000e+00)
485        Scale:  7.457e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  8.974e-01  1.169e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  1.186e+00  2.130e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.41
Ra Dec: 358.322 31.593

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/174776/cmap_HighResolution_582508801_582768001_4FGL_J2353.2+3135_daily_bin1324.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.23e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2021-09-30 08:16:16.799679', job_id='174776', GAL2='0.90', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1633014976.8', return_code2='0', ts='0.41', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='3.69e-02', ts2='0.48', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1324' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 08:16:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 174776: <4FGL_J2353.2+3135_daily_bin1324> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1324> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 08:00:19 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 08:00:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 08:00:21 2021
Terminated at Thu Sep 30 08:16:17 2021
Results reported at Thu Sep 30 08:16:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1324 358.322 31.5927 582508801 582768001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2353.2+3135 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   712.42 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             278.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   956 sec.
    Turnaround time :                            958 sec.

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

