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


Performing analysis on: 4FGL_J2353.2+3135_daily_bin1541
RA = 358.322, Dec = 31.5927
tmin = 638755201, tmax = 639014401
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='178523', job_status='RUN', time_executed='2021-09-30 08:13:36.484566', time_epoch_executed='1633014816.48' WHERE source_name='4FGL J2353.2+3135' and cadence='daily' and bin_id='1541'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/178523

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/178523/ft1_4FGL_J2353.2+3135_daily_bin1541.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/178523/ft2_4FGL_J2353.2+3135_daily_bin1541.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/178523/ft1_4FGL_J2353.2+3135_daily_bin1541.fits outfile=/scratch/kocevski/178523/ft1_filteredMKT_4FGL_J2353.2+3135_daily_bin1541.fits ra=358.322 dec=31.5927 rad=12.0 tmin=638755201.0 tmax=639014401.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 5.33
user 5.06
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/178523/ft1_filtered_4FGL_J2353.2+3135_daily_bin1541.fits" evtable="EVENTS" scfile=/scratch/kocevski/178523/ft2_4FGL_J2353.2+3135_daily_bin1541.fits sctable="SC_DATA" outfile=/scratch/kocevski/178523/ltcube_638755201_639014401_4FGL_J2353.2+3135_daily_bin1541.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/178523/ft2_4FGL_J2353.2+3135_daily_bin1541.fits
.....................!
real 11.58
user 11.26
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/178523/ft1_filtered_4FGL_J2353.2+3135_daily_bin1541.fits evtable="EVENTS" scfile=/scratch/kocevski/178523/ft2_4FGL_J2353.2+3135_daily_bin1541.fits sctable="SC_DATA" expcube=/scratch/kocevski/178523/ltcube_638755201_639014401_4FGL_J2353.2+3135_daily_bin1541.fits outfile=/scratch/kocevski/178523/expmap_638755201_639014401_4FGL_J2353.2+3135_daily_bin1541.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/178523/ltcube_638755201_639014401_4FGL_J2353.2+3135_daily_bin1541.fits
.....................!
real 190.75
user 186.06
sys 4.31

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/178523/ft1_filtered_4FGL_J2353.2+3135_daily_bin1541.fits scfile=/scratch/kocevski/178523/ft2_4FGL_J2353.2+3135_daily_bin1541.fits outfile=/scratch/kocevski/178523/cmap_638755201_639014401_4FGL_J2353.2+3135_daily_bin1541.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.52
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/178523/ft1_filtered_4FGL_J2353.2+3135_daily_bin1541.fits scfile=/scratch/kocevski/178523/ft2_4FGL_J2353.2+3135_daily_bin1541.fits outfile=/scratch/kocevski/178523/cmap_HighResolution_638755201_639014401_4FGL_J2353.2+3135_daily_bin1541.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    19.261       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .30953E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10222E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.343       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.609       1.0000         .10000E-03   10000.    
     8 'norm      '    1.5895       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.0703       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12739E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.507       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.4497       1.0000         .10000E-03   10000.    
    18 'Prefactor '    43.274       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14550E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.1808       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .74715       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1440       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=   6870.185     FROM MIGRAD    STATUS=CONVERGED    476 CALLS     2377 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.5312        .29983E-06** at limit **
   2  norm          19.256        18.559        .18060E-05    .17628E-03
   3  Prefactor     .10103E-03    4.3355       -.97088E-06** at limit **
   4  Prefactor     .10000E-03    6.6374       -.23184E-06** at limit **
   5  Prefactor     10.345        10.127       -.53119E-05   -.72531E-04
   6  Prefactor     .10000E-03    48.741        .35089E-05** at limit **
   7  Prefactor     15.610        17.545       -.13190E-06    .15025E-04
   8  norm          1.5896        1.8428        .16102E-07   -.38728E-04
   9  Prefactor     .10000E-03    44.225       -.74966E-05** at limit **
  10  norm          2.0703        1.3032       -.11134E-07   -.19353E-03
  11  Prefactor     .10000E-03    75.094        .24494E-04** at limit **
  12  Prefactor     .10000E-03    7.1613       -.74606E-06** at limit **
  13  Prefactor     18.495        26.628       -.55404E-05   -.71614E-04
  14  norm          .10000E-03    1.2034       -.90850E-07** at limit **
  15  Prefactor     .10000E-03    4.3395        .21480E-06** at limit **
  16  norm          .10000E-03    1.7799        .26571E-06** at limit **
  17  Prefactor     4.4490        14.687       -.46865E-06   -.59098E-04
  18  Prefactor     43.279        52.159        .45673E-05    .66410E-05
  19  Prefactor     .10000E-03    81.950        .60263E-05** at limit **
  20  Prefactor     3.1755        7.2658       -.16196E-05   -.23198E-03
  21  Normalizat    .74700        .23165        .29708E-05   -.66920E-04
  22  Prefactor     1.1440        .12026       -.85755E-06    .13292E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 19.2556
  Prefactor  = 0.000101035
  Prefactor  = 0.0001
  Prefactor  = 10.3448
  Prefactor  = 0.0001
  Prefactor  = 15.6097
  norm       = 1.5896
  Prefactor  = 0.0001
  norm       = 2.07035
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.495
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.44901
  Prefactor  = 43.2794
  Prefactor  = 0.0001
  Prefactor  = 3.17547
  Normalizat = 0.747004
  Prefactor  = 1.14398
 **********
 **   18 **HESSE 
 **********

 FCN=   6870.185     FROM HESSE     STATUS=OK           346 CALLS     2723 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.5833        .12860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          19.256        18.128        .91260E-04   -1.4830    
   3  Prefactor     .10103E-03    88.035        .31423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    38.260        .41482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.345        10.147        .12459E-03   -1.5065    
   6  Prefactor     .10000E-03    48.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.610        17.544        .10138E-03   -1.4918    
   8  norm          1.5896        1.8359        .11797E-03   -1.5456    
   9  Prefactor     .10000E-03    44.489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.0703        1.2999        .72440E-04   -1.5420    
  11  Prefactor     .10000E-03    75.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.1970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.495        26.730        .93100E-04   -1.4848    
  14  norm          .10000E-03    1.2059        .88794E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.3442        .16863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.8369        .21581E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.4490        14.684        .19089E-03   -1.5286    
  18  Prefactor     43.279        52.280        .60942E-04   -1.4391    
  19  Prefactor     .10000E-03    82.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.1755        7.1847        .22722E-03   -1.5352    
  21  Normalizat    .74700        .25977        .38101E-03   -1.0207    
  22  Prefactor     1.1440        .13644        .17090E-03   -.88073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12098e-08
Minuit parameter uncertainties:
  1  5.84442e-06
  2  18.1328
  3  0.019119
  4  0.000228141
  5  10.1491
  6  1.89601e-05
  7  17.5497
  8  1.83599
  9  4.37063e-05
  10  1.2999
  11  0.000239734
  12  2.52334e-06
  13  26.7471
  14  2.58176e-07
  15  1.79045e-06
  16  9.45418e-07
  17  14.6963
  18  52.3352
  19  0.000232372
  20  7.18664
  21  0.260201
  22  0.136482
Done.

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

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  4.328e+01  5.234e+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.144e+00  1.365e-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.470e-01  2.602e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/178523/likelihoodResults_638755201_639014401_4FGL_J2353.2+3135_daily_bin1541.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) = 6870.17930846
delta logL = 0.00573771313066

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6870.17474293
delta logL = 0.0103032384714

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.557       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7776       1.0000          .0000       10.000    
     3 'Normalizat'    .74110       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1465       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=   6870.175     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      254 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.573        69.259        .65399E-04    .20360E-03
   2  Index         2.7785        1.1643        .86926E-02    .13678E-03
   3  Normalizat    .74165        .25262        .38230E-03    .11240E-02
   4  Prefactor     1.1462        .13527        .17076E-03    .24167E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.5732
  Index      = 2.77854
  Normalizat = 0.741647
  Prefactor  = 1.14621
 **********
 **   18 **HESSE 
 **********

 FCN=   6870.175     FROM HESSE     STATUS=OK            25 CALLS      279 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.573        62.168        .13080E-04   -1.4481    
   2  Index         2.7785        1.0450        .34770E-03   -.46038    
   3  Normalizat    .74165        .25266        .76459E-04   -1.0227    
   4  Prefactor     1.1462        .13516        .34151E-04   -.88003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05269e-09
Minuit parameter uncertainties:
  1  62.2757
  2  1.05473
  3  0.253054
  4  0.1352
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/178523': 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) = 6870.17473793
delta logL = 0.0103082355126

Extracting fit parameters...

4FGL J2353.2+3135
   Spectrum: PowerLaw
483    Prefactor:  3.757e+01  6.228e+01  1.000e-04  1.000e+04 ( 1.000e-13)
484        Index:  2.779e+00  1.055e+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:  1.146e+00  1.352e-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.416e-01  2.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/178523/cmap_HighResolution_638755201_639014401_4FGL_J2353.2+3135_daily_bin1541.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-02', job_status='DONE', photon_flux_upper_limit='1.79e-07', time_completed='2021-09-30 08:24:20.607157', job_id='178523', GAL2='1.15', fit_tolerance='1e-08', EG2='0.74', EG='0.75', time_epoch_completed='1633015460.61', return_code2='0', ts='0.83', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.03e-02', ts2='0.86', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1541' AND source_name='4FGL J2353.2+3135' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 08:24:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 176161: <4FGL_J2353.2+3135_daily_bin1541> in cluster <slac> Done

Job <4FGL_J2353.2+3135_daily_bin1541> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 08:05:25 2021
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 08:05:27 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:05:27 2021
Terminated at Thu Sep 30 08:18:25 2021
Results reported at Thu Sep 30 08:18:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1541 358.322 31.5927 638755201 639014401 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 :                                   647.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             305.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            780 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 178523: <4FGL_J2353.2+3135_daily_bin1541> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2353.2+3135_daily_bin1541 358.322 31.5927 638755201 639014401 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 :                                   643.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             299.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            766 sec.

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

