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


Performing analysis on: 4FGL_J1753.7+2847_daily_bin836
RA = 268.433, Dec = 28.7967
tmin = 456019201, tmax = 456278401
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='273812', job_status='RUN', time_executed='2021-09-18 20:45:36.584836', time_epoch_executed='1632023136.58' WHERE source_name='4FGL J1753.7+2847' and cadence='daily' and bin_id='836'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/273812

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/273812/ft1_4FGL_J1753.7+2847_daily_bin836.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/273812/ft2_4FGL_J1753.7+2847_daily_bin836.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/273812/ft1_4FGL_J1753.7+2847_daily_bin836.fits outfile=/scratch/kocevski/273812/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin836.fits ra=268.433 dec=28.7967 rad=12.0 tmin=456019201.0 tmax=456278401.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 6.95
user 6.62
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/273812/ft2_4FGL_J1753.7+2847_daily_bin836.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/273812/ft2_4FGL_J1753.7+2847_daily_bin836.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/273812/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin836.fits evtable="EVENTS" outfile="/scratch/kocevski/273812/ft1_filtered_4FGL_J1753.7+2847_daily_bin836.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/273812/ft1_filtered_4FGL_J1753.7+2847_daily_bin836.fits" evtable="EVENTS" scfile=/scratch/kocevski/273812/ft2_4FGL_J1753.7+2847_daily_bin836.fits sctable="SC_DATA" outfile=/scratch/kocevski/273812/ltcube_456019201_456278401_4FGL_J1753.7+2847_daily_bin836.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/273812/ft2_4FGL_J1753.7+2847_daily_bin836.fits
.....................!
real 11.48
user 11.13
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/273812/ft1_filtered_4FGL_J1753.7+2847_daily_bin836.fits evtable="EVENTS" scfile=/scratch/kocevski/273812/ft2_4FGL_J1753.7+2847_daily_bin836.fits sctable="SC_DATA" expcube=/scratch/kocevski/273812/ltcube_456019201_456278401_4FGL_J1753.7+2847_daily_bin836.fits outfile=/scratch/kocevski/273812/expmap_456019201_456278401_4FGL_J1753.7+2847_daily_bin836.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/273812/ltcube_456019201_456278401_4FGL_J1753.7+2847_daily_bin836.fits
.....................!
real 191.00
user 185.61
sys 5.02

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 210 point sources and 0 extended sources

Setting source of interest to:
4FGL J1753.7+2847 @ 268.433 28.7967

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/273812/ft1_filtered_4FGL_J1753.7+2847_daily_bin836.fits scfile=/scratch/kocevski/273812/ft2_4FGL_J1753.7+2847_daily_bin836.fits outfile=/scratch/kocevski/273812/cmap_456019201_456278401_4FGL_J1753.7+2847_daily_bin836.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=268.433 yref=28.7967 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/273812/ft1_filtered_4FGL_J1753.7+2847_daily_bin836.fits scfile=/scratch/kocevski/273812/ft2_4FGL_J1753.7+2847_daily_bin836.fits outfile=/scratch/kocevski/273812/cmap_HighResolution_456019201_456278401_4FGL_J1753.7+2847_daily_bin836.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=268.433 yref=28.7967 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/273812/ft1_filtered_4FGL_J1753.7+2847_daily_bin836.fits evtable="EVENTS" scfile=/scratch/kocevski/273812/ft2_4FGL_J1753.7+2847_daily_bin836.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/273812/Model_4FGL_J1753.7+2847_daily_bin836.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/273812/ft1_filtered_4FGL_J1753.7+2847_daily_bin836.fits.....................!
real 62.24
user 60.87
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/273812/ft1_filtered_4FGL_J1753.7+2847_daily_bin836.fits', '/scratch/kocevski/273812/ft2_4FGL_J1753.7+2847_daily_bin836.fits', expMap='/scratch/kocevski/273812/expmap_456019201_456278401_4FGL_J1753.7+2847_daily_bin836.fits', expCube='/scratch/kocevski/273812/ltcube_456019201_456278401_4FGL_J1753.7+2847_daily_bin836.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/273812/Model_4FGL_J1753.7+2847_daily_bin836.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1753.7+2847'

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  6.812e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.396e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
343        Scale:  1.625e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/273812/ft1_filtered_4FGL_J1753.7+2847_daily_bin836.fits
Spacecraft file(s): /scratch/kocevski/273812/ft2_4FGL_J1753.7+2847_daily_bin836.fits
Exposure map: /scratch/kocevski/273812/expmap_456019201_456278401_4FGL_J1753.7+2847_daily_bin836.fits
Exposure cube: /scratch/kocevski/273812/ltcube_456019201_456278401_4FGL_J1753.7+2847_daily_bin836.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/273812/Model_4FGL_J1753.7+2847_daily_bin836.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) = 6906.45270571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    17.660       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.6072       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13442       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.372       1.0000         .10000E-03   10000.    
    10 'Prefactor '    141.64       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.6912       1.0000         .10000E-03   10000.    
    13 'norm      '    .15822       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.6173       1.0000         .10000E-03   10000.    
    15 'norm      '    14.302       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.529       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0212       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .88372       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+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=   6906.446     FROM MIGRAD    STATUS=CONVERGED    886 CALLS     2852 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.939        .18142E-02** at limit **
   2  Prefactor     .10000E-03    28.736        .18142E-02** at limit **
   3  norm          .10000E-03    2.1678        .11892E-02** at limit **
   4  norm          17.657        44.865        .95306E-04    .52534E-04
   5  Prefactor     .10000E-03    21.200        .18142E-02** at limit **
   6  Prefactor     .10000E-03    35.673        .18142E-02** at limit **
   7  Prefactor     4.5425        16.662        .18752E-03    .37467E-04
   8  Prefactor     .10000E-03    51.005        .16791    ** at limit **
   9  Prefactor     14.391        44.058        .10565E-03    .16356E-03
  10  Prefactor     141.52        117.59        .16925E-03    .12336E-03
  11  Prefactor     .10000E-03    7.4891        .18142E-02** at limit **
  12  norm          3.6903        1.9194        .80620E-04    .40683E-03
  13  norm          1.0436        458.90        .39141E-02    .10291E-04
  14  Prefactor     3.6084        6.8773        .10622E-02    .25247E-03
  15  norm          14.302        10.677        .10591E-03    .37140E-04
  16  Prefactor     .10000E-03    3.5736        .30218E-03** at limit **
  17  Prefactor     .10000E-03    13.410        .18142E-02** at limit **
  18  norm          .10000E-03    13.938        .18142E-02** at limit **
  19  Prefactor     26.532        11.330        .77778E-04   -.41950E-04
  20  norm          .10000E-03    21.151        .18142E-02** at limit **
  21  Normalizat    1.0208        .26223        .35507E-03    .40894E-03
  22  Prefactor     .88378        .10662        .15888E-03    .19563E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 17.6569
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.54254
  Prefactor  = 0.000100001
  Prefactor  = 14.3915
  Prefactor  = 141.524
  Prefactor  = 0.0001
  norm       = 3.69028
  norm       = 1.04361
  Prefactor  = 3.60841
  norm       = 14.3025
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 26.5319
  norm       = 0.0001
  Normalizat = 1.0208
  Prefactor  = 0.883775
 **********
 **   18 **HESSE 
 **********

 FCN=   6906.446     FROM HESSE     STATUS=OK           334 CALLS     3186 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.939        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    28.738        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.1682        .23785E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          17.657        44.865        .19061E-04   -1.4867    
   5  Prefactor     .10000E-03    21.200        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    35.674        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.5425        16.589        .75009E-05   -1.5282    
   8  Prefactor     .10000E-03    52.520        .16449       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.391        44.049        .21131E-04   -1.4949    
  10  Prefactor     141.52        117.57        .33850E-04   -1.3323    
  11  Prefactor     .10000E-03    7.4945        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.6903        1.9193        .32248E-05   -1.5324    
  13  norm          1.0436        456.30        .15656E-03   -1.5504    
  14  Prefactor     3.6084        6.8679        .42487E-04   -1.5328    
  15  norm          14.302        10.677        .42365E-05   -1.4951    
  16  Prefactor     .10000E-03    3.5737        .60435E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.412        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    13.939        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     26.532        11.330        .31111E-05   -1.4677    
  20  norm          .10000E-03    21.152        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0208        .26224        .71014E-04   -.92337    
  22  Prefactor     .88378        .10668        .31777E-04   -.96710    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64432e-09
Minuit parameter uncertainties:
  1  1.91606e-05
  2  6.63522e-05
  3  2.79354e-06
  4  44.9504
  5  2.16937e-05
  6  7.62932e-05
  7  16.606
  8  0.000338731
  9  44.149
  10  117.763
  11  5.82255e-05
  12  1.91928
  13  43.983
  14  6.86937
  15  10.6786
  16  1.99092e-05
  17  8.58324e-05
  18  1.09428e-05
  19  11.3306
  20  5.21996e-05
  21  0.262577
  22  0.106703
Done.

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

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.415e+02  1.178e+02  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.396e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
343        Scale:  1.625e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  8.838e-01  1.067e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  1.021e+00  2.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.61
Ra Dec: 268.433 28.797
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 8.09e-08 +/- 6.72e-08
Energy Flux (Fixed Index): 2.66e-05 +/- 2.22e-05

TS (Fixed Index): 3.61
Ra Dec: 268.433 28.797
Photon Flux Upper Limit: 1.87e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.44e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/273812/likelihoodResults_456019201_456278401_4FGL_J1753.7+2847_daily_bin836.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) = 6905.87742877
delta logL = 0.568344907269

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6905.85872527
delta logL = 0.587048402231

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    44.549       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1171       1.0000          .0000       10.000    
     3 'Normalizat'    .96919       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89610       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+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=   6905.859     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      314 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.585        146.70        .60067E-04    .50299E-03
   2  Index         3.1170        1.5097        .35990E-02    .30860E-03
   3  Normalizat    .96795        .26304        .36315E-03   -.41155E-03
   4  Prefactor     .89664        .10788        .15779E-03   -.60526E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.5855
  Index      = 3.11699
  Normalizat = 0.967952
  Prefactor  = 0.896641
 **********
 **   18 **HESSE 
 **********

 FCN=   6905.859     FROM HESSE     STATUS=OK            25 CALLS      339 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.585        72.738        .12013E-04   -1.4372    
   2  Index         3.1170        .75357        .14396E-03   -.38613    
   3  Normalizat    .96795        .25711        .14526E-04   -.94112    
   4  Prefactor     .89664        .10623        .31557E-04   -.96259    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.86906e-10
Minuit parameter uncertainties:
  1  72.8828
  2  0.756933
  3  0.257437
  4  0.106258
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/273812': 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) = 6905.85871149
delta logL = 0.58706218525

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  4.459e+01  7.288e+01  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  3.117e+00  7.569e-01  0.000e+00  1.000e+01 (-1.000e+00)
343        Scale:  1.625e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  8.966e-01  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  9.680e-01  2.574e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.92
Ra Dec: 268.433 28.797
Photon Index (Free Index): 3.12 +/- 0.76
Photon Flux (Free Index): 1.25e-07 +/- 7.35e-08
Energy Flux (Free Index): 2.37e-05 +/- 1.32e-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/273812/cmap_HighResolution_456019201_456278401_4FGL_J1753.7+2847_daily_bin836.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.44e-02', comment='SUCCESS', photon_flux='8.09e-08', energy_flux2='2.37e-05', photon_flux_error='6.72e-08', dlogl='5.87e-01', energy_flux='2.66e-05', photon_flux2='1.25e-07', job_status='DONE', time_completed='2021-09-18 20:59:44.785939', photon_index_error2='0.76', photon_index2='3.12', ts='3.61', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.87e-07', energy_flux_error2='1.32e-05', EG='1.02', time_epoch_completed='1632023984.79', return_code='0', job_id='273812', GAL2='0.90', EG2='0.97', return_code2='0', energy_flux_error='2.22e-05', photon_flux_error2='7.35e-08', ts2='4.92', photon_index='2.40' WHERE bin_id='836' AND source_name='4FGL J1753.7+2847' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 20:59:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 273812: <4FGL_J1753.7+2847_daily_bin836> in cluster <slac> Done

Job <4FGL_J1753.7+2847_daily_bin836> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 18 20:45:25 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 20:45:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 18 20:45:27 2021
Terminated at Sat Sep 18 20:59:45 2021
Results reported at Sat Sep 18 20:59:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.7+2847_daily_bin836 268.433 28.7967 456019201 456278401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1753.7+2847 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   844.29 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             351.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            860 sec.

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

