/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 9 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 = 7483
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1753.7+2847_daily_bin222
RA = 268.433, Dec = 28.7967
tmin = 296870401, tmax = 297129601
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='264760', job_status='RUN', time_executed='2021-09-18 20:15:39.728480', time_epoch_executed='1632021339.73' WHERE source_name='4FGL J1753.7+2847' and cadence='daily' and bin_id='222'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/264760

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/264760/ft1_4FGL_J1753.7+2847_daily_bin222.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/264760/ft2_4FGL_J1753.7+2847_daily_bin222.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/264760/ft1_4FGL_J1753.7+2847_daily_bin222.fits outfile=/scratch/kocevski/264760/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin222.fits ra=268.433 dec=28.7967 rad=12.0 tmin=296870401.0 tmax=297129601.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.61
user 3.34
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/264760/ft2_4FGL_J1753.7+2847_daily_bin222.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/264760/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin222.fits evtable="EVENTS" outfile="/scratch/kocevski/264760/ft1_filtered_4FGL_J1753.7+2847_daily_bin222.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/264760/ft1_filtered_4FGL_J1753.7+2847_daily_bin222.fits" evtable="EVENTS" scfile=/scratch/kocevski/264760/ft2_4FGL_J1753.7+2847_daily_bin222.fits sctable="SC_DATA" outfile=/scratch/kocevski/264760/ltcube_296870401_297129601_4FGL_J1753.7+2847_daily_bin222.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/264760/ft2_4FGL_J1753.7+2847_daily_bin222.fits
.....................!
real 11.76
user 11.39
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/264760/ft1_filtered_4FGL_J1753.7+2847_daily_bin222.fits evtable="EVENTS" scfile=/scratch/kocevski/264760/ft2_4FGL_J1753.7+2847_daily_bin222.fits sctable="SC_DATA" expcube=/scratch/kocevski/264760/ltcube_296870401_297129601_4FGL_J1753.7+2847_daily_bin222.fits outfile=/scratch/kocevski/264760/expmap_296870401_297129601_4FGL_J1753.7+2847_daily_bin222.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/264760/ltcube_296870401_297129601_4FGL_J1753.7+2847_daily_bin222.fits
.....................!
real 191.18
user 185.46
sys 5.36

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/264760/ft1_filtered_4FGL_J1753.7+2847_daily_bin222.fits scfile=/scratch/kocevski/264760/ft2_4FGL_J1753.7+2847_daily_bin222.fits outfile=/scratch/kocevski/264760/cmap_296870401_297129601_4FGL_J1753.7+2847_daily_bin222.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/264760/ft1_filtered_4FGL_J1753.7+2847_daily_bin222.fits scfile=/scratch/kocevski/264760/ft2_4FGL_J1753.7+2847_daily_bin222.fits outfile=/scratch/kocevski/264760/cmap_HighResolution_296870401_297129601_4FGL_J1753.7+2847_daily_bin222.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/264760/ft1_filtered_4FGL_J1753.7+2847_daily_bin222.fits evtable="EVENTS" scfile=/scratch/kocevski/264760/ft2_4FGL_J1753.7+2847_daily_bin222.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/264760/Model_4FGL_J1753.7+2847_daily_bin222.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/264760/ft1_filtered_4FGL_J1753.7+2847_daily_bin222.fits.....................!
real 76.22
user 74.86
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/264760/ft1_filtered_4FGL_J1753.7+2847_daily_bin222.fits', '/scratch/kocevski/264760/ft2_4FGL_J1753.7+2847_daily_bin222.fits', expMap='/scratch/kocevski/264760/expmap_296870401_297129601_4FGL_J1753.7+2847_daily_bin222.fits', expCube='/scratch/kocevski/264760/ltcube_296870401_297129601_4FGL_J1753.7+2847_daily_bin222.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/264760/Model_4FGL_J1753.7+2847_daily_bin222.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/264760/ft1_filtered_4FGL_J1753.7+2847_daily_bin222.fits
Spacecraft file(s): /scratch/kocevski/264760/ft2_4FGL_J1753.7+2847_daily_bin222.fits
Exposure map: /scratch/kocevski/264760/expmap_296870401_297129601_4FGL_J1753.7+2847_daily_bin222.fits
Exposure cube: /scratch/kocevski/264760/ltcube_296870401_297129601_4FGL_J1753.7+2847_daily_bin222.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/264760/Model_4FGL_J1753.7+2847_daily_bin222.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) = 8856.77946473

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10105E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    33.879       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .93085E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    170.85       1.0000         .10000E-03   10000.    
     9 'Prefactor '    34.463       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10716E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.9630       1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.9180       1.0000         .10000E-03   10000.    
    15 'norm      '    7.5071       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .78986       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    10.935       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0892       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84726       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.

 FCN=   8856.754     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2462 TOTAL
                     EDM=   .64E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.000        .13978E-07** at limit **
   2  Prefactor     .10000E-03    28.891       -.33017E-06** at limit **
   3  norm          .10000E-03    2.9537        .19367E-06** at limit **
   4  norm          33.828        70.095        .48684E-05    .23171E-06
   5  Prefactor     .10000E-03    61.719       -.73403E-06** at limit **
   6  Prefactor     .10000E-03    193.72       -.11652E-04** at limit **
   7  Prefactor     .10164E-03    12.850       -.12943E-05** at limit **
   8  Prefactor     170.84        74.689        .97268E-06   -.20183E-04
   9  Prefactor     34.470        39.534       -.76285E-06   -.50642E-04
  10  Prefactor     .10000E-03    137.37        .61670E-05** at limit **
  11  Prefactor     .10000E-03    2.6795       -.40654E-07** at limit **
  12  norm          2.9651        1.9416       -.38131E-07    .49982E-04
  13  norm          .10000E-03    38.478        .50898E-06** at limit **
  14  Prefactor     3.9205        7.3091        .32563E-05    .64227E-04
  15  norm          7.5068        6.5023       -.29302E-07   -.16063E-04
  16  Prefactor     .78884        4.4284        .95207E-06    .21025E-04
  17  Prefactor     .10000E-03    24.908        .22833E-06** at limit **
  18  norm          10.934        20.324        .77644E-08   -.97097E-06
  19  Prefactor     .10000E-03    10.551        .64857E-07** at limit **
  20  norm          .10000E-03    16.084       -.25273E-07** at limit **
  21  Normalizat    1.0897        .21157       -.16758E-05    .28482E-04
  22  Prefactor     .84713        .79594E-01    .18317E-06    .71868E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 33.8284
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000101642
  Prefactor  = 170.836
  Prefactor  = 34.4697
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.96507
  norm       = 0.0001
  Prefactor  = 3.92047
  norm       = 7.50675
  Prefactor  = 0.78884
  Prefactor  = 0.0001
  norm       = 10.9339
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.08973
  Prefactor  = 0.847127
 **********
 **   18 **HESSE 
 **********

 FCN=   8856.754     FROM HESSE     STATUS=OK           348 CALLS     2810 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    28.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    7.2552        .31303E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          33.828        70.210        .68847E-04   -1.4544    
   5  Prefactor     .10000E-03    61.765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    193.67        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10164E-03    16.485        .92001E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     170.84        74.653        .15434E-03   -1.3086    
   9  Prefactor     34.470        39.601        .68262E-04   -1.4533    
  10  Prefactor     .10000E-03    137.65        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.6840        .15043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.9651        1.9409        .10216E-03   -1.5364    
  13  norm          .10000E-03    38.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.9205        7.3233        .10191E-02   -1.5312    
  15  norm          7.5068        6.5016        .14637E-03   -1.5160    
  16  Prefactor     .78884        4.4067        .37690E-03   -1.5530    
  17  Prefactor     .10000E-03    25.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.934        20.335        .12116E-03   -1.5047    
  19  Prefactor     .10000E-03    10.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    16.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0897        .24341        .36291E-03   -.90082    
  22  Prefactor     .84713        .92740E-01    .16024E-03   -.98014    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47426e-10
Minuit parameter uncertainties:
  1  1.6471e-06
  2  9.87191e-06
  3  1.94198e-05
  4  70.3826
  5  1.82024e-05
  6  0.000329021
  7  0.0104073
  8  74.6946
  9  39.6313
  10  6.50487e-05
  11  2.02294e-06
  12  1.94096
  13  1.8599e-05
  14  7.32492
  15  6.50223
  16  3.72911
  17  2.60904e-06
  18  20.3481
  19  9.65652e-06
  20  2.1969e-07
  21  0.243657
  22  0.0927569
Done.

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

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.000e-04  6.505e-05  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.471e-01  9.276e-02  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.090e+00  2.437e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 268.433 28.797
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/264760/likelihoodResults_296870401_297129601_4FGL_J1753.7+2847_daily_bin222.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): 102
logL (Free Index) = 8856.7542012
delta logL = -3.44861000485e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8856.75416683
delta logL = -1.17770468933e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11270E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5915       1.0000          .0000       10.000    
     3 'Normalizat'    1.0897       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84713       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.

 FCN=   8856.754     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      244 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    66.493        .90712E-02** at limit **
   2  Index         2.5594        6.7114        .50000        .21241E-05
   3  Normalizat    1.0897        .40501E-02    .81973E-01    .17884E-04
   4  Prefactor     .84713        .16054E-02    .44327E-01   -.17084E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.55935
  Normalizat = 1.08973
  Prefactor  = 0.847127
 **********
 **   18 **HESSE 
 **********

 FCN=   8856.754     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      277 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    494.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5594        5.8298        .50000       -.50995    
   3  Normalizat    1.0897        .11114E-01    .36291E-03   -.90082    
   4  Prefactor     .84713        .44131E-02    .16024E-03   -.98014    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.3217e-08
Minuit parameter uncertainties:
  1  0.000857572
  2  367.246
  3  0.0111142
  4  0.00441314
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/264760': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8856.75416676
delta logL = -4.70008671982e-08

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.000e-04  8.576e-04  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.559e+00  3.672e+02  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.471e-01  4.413e-03  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.090e+00  1.111e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 268.433 28.797

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/264760/cmap_HighResolution_296870401_297129601_4FGL_J1753.7+2847_daily_bin222.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.63e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-09-18 20:30:12.061372', job_id='264760', GAL2='0.85', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1632022212.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='-4.70e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='222' AND source_name='4FGL J1753.7+2847' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 20:30:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 264760: <4FGL_J1753.7+2847_daily_bin222> in cluster <slac> Done

Job <4FGL_J1753.7+2847_daily_bin222> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep 18 20:15:20 2021
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 20:15:22 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:15:22 2021
Terminated at Sat Sep 18 20:30:12 2021
Results reported at Sat Sep 18 20:30:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.7+2847_daily_bin222 268.433 28.7967 296870401 297129601 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 :                                   869.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             342.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            892 sec.

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

