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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1312
RA = 358.322, Dec = 31.5927
tmin = 579398401, tmax = 579657601
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='174758', job_status='RUN', time_executed='2021-09-30 08:03:46.625118', time_epoch_executed='1633014226.63' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1312'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/174758

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/174758/ft1_4FGL_J2353.2+3135_daily_bin1312.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/174758/ft2_4FGL_J2353.2+3135_daily_bin1312.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/174758/ft1_4FGL_J2353.2+3135_daily_bin1312.fits outfile=/scratch/kocevski/174758/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1312.fits ra=358.322 dec=31.5927 rad=12.0 tmin=579398401.0 tmax=579657601.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.48
user 3.25
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/174758/ft1_filtered_4FGL_J2353.2+3135_daily_bin1312.fits" evtable="EVENTS" scfile=/scratch/kocevski/174758/ft2_4FGL_J2353.2+3135_daily_bin1312.fits sctable="SC_DATA" outfile=/scratch/kocevski/174758/ltcube_579398401_579657601_4FGL_J2353.2+3135_daily_bin1312.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/174758/ft2_4FGL_J2353.2+3135_daily_bin1312.fits
.....................!
real 12.29
user 11.91
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/174758/ft1_filtered_4FGL_J2353.2+3135_daily_bin1312.fits evtable="EVENTS" scfile=/scratch/kocevski/174758/ft2_4FGL_J2353.2+3135_daily_bin1312.fits sctable="SC_DATA" expcube=/scratch/kocevski/174758/ltcube_579398401_579657601_4FGL_J2353.2+3135_daily_bin1312.fits outfile=/scratch/kocevski/174758/expmap_579398401_579657601_4FGL_J2353.2+3135_daily_bin1312.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/174758/ltcube_579398401_579657601_4FGL_J2353.2+3135_daily_bin1312.fits
.....................!
real 192.52
user 187.31
sys 4.82

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/174758/ft1_filtered_4FGL_J2353.2+3135_daily_bin1312.fits scfile=/scratch/kocevski/174758/ft2_4FGL_J2353.2+3135_daily_bin1312.fits outfile=/scratch/kocevski/174758/cmap_579398401_579657601_4FGL_J2353.2+3135_daily_bin1312.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/174758/ft1_filtered_4FGL_J2353.2+3135_daily_bin1312.fits scfile=/scratch/kocevski/174758/ft2_4FGL_J2353.2+3135_daily_bin1312.fits outfile=/scratch/kocevski/174758/cmap_HighResolution_579398401_579657601_4FGL_J2353.2+3135_daily_bin1312.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.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/174758/ft1_filtered_4FGL_J2353.2+3135_daily_bin1312.fits', '/scratch/kocevski/174758/ft2_4FGL_J2353.2+3135_daily_bin1312.fits', expMap='/scratch/kocevski/174758/expmap_579398401_579657601_4FGL_J2353.2+3135_daily_bin1312.fits', expCube='/scratch/kocevski/174758/ltcube_579398401_579657601_4FGL_J2353.2+3135_daily_bin1312.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/174758/Model_4FGL_J2353.2+3135_daily_bin1312.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/174758/ft1_filtered_4FGL_J2353.2+3135_daily_bin1312.fits
Spacecraft file(s): /scratch/kocevski/174758/ft2_4FGL_J2353.2+3135_daily_bin1312.fits
Exposure map: /scratch/kocevski/174758/expmap_579398401_579657601_4FGL_J2353.2+3135_daily_bin1312.fits
Exposure cube: /scratch/kocevski/174758/ltcube_579398401_579657601_4FGL_J2353.2+3135_daily_bin1312.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/174758/Model_4FGL_J2353.2+3135_daily_bin1312.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) = 8907.45974043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10148E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    7.9129       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .36680E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.2494       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    76.384       1.0000         .10000E-03   10000.    
     8 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.851       1.0000         .10000E-03   10000.    
    10 'norm      '    1.9400       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.8299       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.595       1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.266       1.0000         .10000E-03   10000.    
    14 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.340       1.0000         .10000E-03   10000.    
    16 'norm      '    1.7315       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.8242       1.0000         .10000E-03   10000.    
    18 'Prefactor '    65.333       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .79131       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0916       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.

 FCN=   8907.453     FROM MIGRAD    STATUS=CONVERGED    462 CALLS     2389 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.5562        .39078E-01** at limit **
   2  norm          7.9107        15.078        .35635E-02    .22632E-03
   3  Prefactor     .10000E-03    2.2311        .90712E-02** at limit **
   4  Prefactor     .10025E-03    6.5672        .10651    ** at limit **
   5  Prefactor     5.2481        8.3163        .43859E-02    .15599E-02
   6  Prefactor     .10004E-03    23.737        .90712E-02** at limit **
   7  Prefactor     76.384        37.215        .11486E-02    .50811E-03
   8  norm          .10000E-03    1.5395        .90712E-02** at limit **
   9  Prefactor     26.850        24.367        .19328E-02    .10244E-02
  10  norm          1.9397        1.3010        .74519E-02    .59622E-03
  11  Prefactor     3.8288        13.631        .51557E-02    .19725E-03
  12  Prefactor     15.594        10.958        .25355E-02   -.76394E-04
  13  Prefactor     25.265        20.675        .19924E-02    .65332E-03
  14  norm          .10000E-03    1.8167        .90712E-02** at limit **
  15  Prefactor     11.339        14.644        .29742E-02    .88505E-04
  16  norm          1.7315        1.7239        .79753E-02    .28671E-03
  17  Prefactor     4.8232        15.504        .45790E-02    .30250E-03
  18  Prefactor     65.334        43.087        .12413E-02   -.10056E-02
  19  Prefactor     .10002E-03    27.864        .90712E-02** at limit **
  20  Prefactor     .10000E-03    3.8276        .90712E-02** at limit **
  21  Normalizat    .79124        .19961        .83333E-01    .43705E-04
  22  Prefactor     1.0917        .10481        .37913E-01    .81833E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 7.91074
  Prefactor  = 0.0001
  Prefactor  = 0.000100249
  Prefactor  = 5.24813
  Prefactor  = 0.000100038
  Prefactor  = 76.3842
  norm       = 0.0001
  Prefactor  = 26.8501
  norm       = 1.93974
  Prefactor  = 3.82879
  Prefactor  = 15.5943
  Prefactor  = 25.2652
  norm       = 0.0001
  Prefactor  = 11.3391
  norm       = 1.73146
  Prefactor  = 4.82316
  Prefactor  = 65.334
  Prefactor  = 0.00010002
  Prefactor  = 0.0001
  Normalizat = 0.791237
  Prefactor  = 1.0917
 **********
 **   18 **HESSE 
 **********

 FCN=   8907.453     FROM HESSE     STATUS=OK           344 CALLS     2733 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.4036        .22401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.9107        15.040        .14254E-03   -1.5145    
   3  Prefactor     .10000E-03    2.2392        .13760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10025E-03    26.926        .46057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.2481        8.3100        .17544E-03   -1.5250    
   6  Prefactor     .10004E-03    23.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     76.384        37.209        .45944E-04   -1.3958    
   8  norm          .10000E-03    1.6058        .22860E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     26.850        24.380        .77311E-04   -1.4671    
  10  norm          1.9397        1.2909        .84205E-04   -1.5429    
  11  Prefactor     3.8288        13.627        .20623E-03   -1.5317    
  12  Prefactor     15.594        10.949        .10142E-03   -1.4918    
  13  Prefactor     25.265        20.665        .79694E-04   -1.4702    
  14  norm          .10000E-03    1.8242        .12401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.339        14.596        .11897E-03   -1.5034    
  16  norm          1.7315        1.7179        .11978E-03   -1.5445    
  17  Prefactor     4.8232        15.521        .18316E-03   -1.5269    
  18  Prefactor     65.334        43.142        .49651E-04   -1.4090    
  19  Prefactor     .10002E-03    27.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.8463        .18014E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .79124        .22363        .36900E-03   -1.0039    
  22  Prefactor     1.0917        .11994        .17549E-03   -.89732    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11235e-08
Minuit parameter uncertainties:
  1  8.08034e-07
  2  15.047
  3  2.36435e-07
  4  0.0051827
  5  8.31185
  6  0.00188992
  7  37.22
  8  2.04571e-07
  9  24.3893
  10  1.29094
  11  13.6381
  12  10.9505
  13  20.6707
  14  3.20811e-07
  15  14.6006
  16  1.71797
  17  15.5344
  18  43.1629
  19  0.00147667
  20  2.42745e-06
  21  0.223886
  22  0.119974
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  6.533e+01  4.316e+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:  1.092e+00  1.200e-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:  7.912e-01  2.239e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.40
Ra Dec: 358.322 31.593
Photon Index (Fixed Index): 2.63 +/- 0.00
Photon Flux (Fixed Index): 7.92e-08 +/- 5.23e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.33e-05

TS (Fixed Index): 3.40
Ra Dec: 358.322 31.593
Photon Flux Upper Limit: 1.80e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.41e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/174758/likelihoodResults_579398401_579657601_4FGL_J2353.2+3135_daily_bin1312.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) = 8907.39187304
delta logL = 0.0614549601396

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8907.38839596
delta logL = 0.0649320401335

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.517       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9263       1.0000          .0000       10.000    
     3 'Normalizat'    .77307       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0994       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=   8907.388     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      298 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     48.498        78.885        .57569E-04   -.20206E-03
   2  Index         2.9270        1.1701        .72918E-02   -.49455E-04
   3  Normalizat    .77289        .22401        .37301E-03    .12337E-03
   4  Prefactor     1.0996        .12072        .17495E-03   -.18460E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 48.4977
  Index      = 2.92704
  Normalizat = 0.772889
  Prefactor  = 1.09959
 **********
 **   18 **HESSE 
 **********

 FCN=   8907.388     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     48.498        60.687        .11514E-04   -1.4314    
   2  Index         2.9270        .90145        .29167E-03   -.42749    
   3  Normalizat    .77289        .22164        .14921E-04   -1.0108    
   4  Prefactor     1.0996        .11941        .34990E-04   -.89480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.17319e-10
Minuit parameter uncertainties:
  1  60.7646
  2  0.907453
  3  0.221902
  4  0.119442
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/174758': 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) = 8907.38839406
delta logL = 0.0649339451138

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  4.850e+01  6.076e+01  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  2.927e+00  9.075e-01  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:  1.100e+00  1.194e-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:  7.729e-01  2.219e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.58
Ra Dec: 358.322 31.593
Photon Index (Free Index): 2.93 +/- 0.91
Photon Flux (Free Index): 9.03e-08 +/- 6.30e-08
Energy Flux (Free Index): 1.87e-05 +/- 1.27e-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/174758/cmap_HighResolution_579398401_579657601_4FGL_J2353.2+3135_daily_bin1312.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-02', comment='SUCCESS', photon_flux='7.92e-08', energy_flux2='1.87e-05', photon_flux_error='5.23e-08', dlogl='6.49e-02', energy_flux='2.02e-05', photon_flux2='9.03e-08', job_status='DONE', time_completed='2021-09-30 08:16:37.973228', photon_index_error2='0.91', photon_index2='2.93', ts='3.40', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.80e-07', energy_flux_error2='1.27e-05', EG='0.79', time_epoch_completed='1633014997.97', return_code='0', job_id='174758', GAL2='1.10', EG2='0.77', return_code2='0', energy_flux_error='1.33e-05', photon_flux_error2='6.30e-08', ts2='3.58', photon_index='2.63' WHERE bin_id='1312' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 08:16:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 174758: <4FGL_J2353.2+3135_daily_bin1312> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1312> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 08:00:17 2021
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 08:00: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 08:00:19 2021
Terminated at Thu Sep 30 08:16:38 2021
Results reported at Thu Sep 30 08:16:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1312 358.322 31.5927 579398401 579657601 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 :                                   750.21 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             258.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   979 sec.
    Turnaround time :                            981 sec.

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

