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


Performing analysis on: 4FGL_J1753.7+2847_daily_bin720
RA = 268.433, Dec = 28.7967
tmin = 425952001, tmax = 426211201
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='272336', job_status='RUN', time_executed='2021-09-18 20:40:42.289847', time_epoch_executed='1632022842.29' WHERE source_name='4FGL J1753.7+2847' and cadence='daily' and bin_id='720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/272336

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/272336/ft1_4FGL_J1753.7+2847_daily_bin720.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/272336/ft2_4FGL_J1753.7+2847_daily_bin720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/272336/ft1_4FGL_J1753.7+2847_daily_bin720.fits outfile=/scratch/kocevski/272336/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin720.fits ra=268.433 dec=28.7967 rad=12.0 tmin=425952001.0 tmax=426211201.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.67
user 3.45
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/272336/ft2_4FGL_J1753.7+2847_daily_bin720.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/272336/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin720.fits evtable="EVENTS" outfile="/scratch/kocevski/272336/ft1_filtered_4FGL_J1753.7+2847_daily_bin720.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/272336/ft1_filtered_4FGL_J1753.7+2847_daily_bin720.fits" evtable="EVENTS" scfile=/scratch/kocevski/272336/ft2_4FGL_J1753.7+2847_daily_bin720.fits sctable="SC_DATA" outfile=/scratch/kocevski/272336/ltcube_425952001_426211201_4FGL_J1753.7+2847_daily_bin720.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/272336/ft2_4FGL_J1753.7+2847_daily_bin720.fits
.....................!
real 12.65
user 12.31
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/272336/ft1_filtered_4FGL_J1753.7+2847_daily_bin720.fits evtable="EVENTS" scfile=/scratch/kocevski/272336/ft2_4FGL_J1753.7+2847_daily_bin720.fits sctable="SC_DATA" expcube=/scratch/kocevski/272336/ltcube_425952001_426211201_4FGL_J1753.7+2847_daily_bin720.fits outfile=/scratch/kocevski/272336/expmap_425952001_426211201_4FGL_J1753.7+2847_daily_bin720.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/272336/ltcube_425952001_426211201_4FGL_J1753.7+2847_daily_bin720.fits
.....................!
real 190.81
user 185.43
sys 5.05

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/272336/ft1_filtered_4FGL_J1753.7+2847_daily_bin720.fits scfile=/scratch/kocevski/272336/ft2_4FGL_J1753.7+2847_daily_bin720.fits outfile=/scratch/kocevski/272336/cmap_425952001_426211201_4FGL_J1753.7+2847_daily_bin720.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/272336/ft1_filtered_4FGL_J1753.7+2847_daily_bin720.fits scfile=/scratch/kocevski/272336/ft2_4FGL_J1753.7+2847_daily_bin720.fits outfile=/scratch/kocevski/272336/cmap_HighResolution_425952001_426211201_4FGL_J1753.7+2847_daily_bin720.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/272336/ft1_filtered_4FGL_J1753.7+2847_daily_bin720.fits evtable="EVENTS" scfile=/scratch/kocevski/272336/ft2_4FGL_J1753.7+2847_daily_bin720.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/272336/Model_4FGL_J1753.7+2847_daily_bin720.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/272336/ft1_filtered_4FGL_J1753.7+2847_daily_bin720.fits.....................!
real 80.56
user 79.23
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10708E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    16.049       1.0000         .10000E-03   10000.    
     4 'norm      '    .30525E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.9916       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10295E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10290E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.5875       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5754       1.0000         .10000E-03   10000.    
    12 'norm      '    .10073E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    64.813       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.3777       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.6218       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.7990       1.0000         .10000E-03   10000.    
    20 'norm      '    .10153E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4858       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77637       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=   9302.440     FROM MIGRAD    STATUS=CONVERGED    836 CALLS     2711 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    45.066        .18142E-02** at limit **
   2  Prefactor     .10000E-03    25.111        .18142E-02** at limit **
   3  norm          16.053        7.3276        .99977E-04   -.60723E-04
   4  norm          .10000E-03    31.750        .20515    ** at limit **
   5  Prefactor     .10000E-03    39.361        .18142E-02** at limit **
   6  Prefactor     6.0028        243.28        .16404E-03   -.11089E-05
   7  Prefactor     .10000E-03    16.967        .18142E-02** at limit **
   8  Prefactor     .10000E-03    12.761        .18142E-02** at limit **
   9  Prefactor     1.5638        110.46        .33687E-03    .20249E-05
  10  Prefactor     .10000E-03    64.507        .18142E-02** at limit **
  11  Prefactor     3.5736        11.712        .10686E-02   -.14362E-04
  12  norm          .10000E-03    1.9567        .16368E-02** at limit **
  13  norm          64.842        69.524        .49849E-04   -.38315E-04
  14  Prefactor     .10000E-03    5.0659        .36285E-03** at limit **
  15  norm          9.3761        7.2212        .13087E-03    .50385E-05
  16  Prefactor     9.6204        5.7273        .12919E-03   -.14872E-03
  17  Prefactor     .10000E-03    10.652        .18142E-02** at limit **
  18  norm          .10000E-03    19.365        .18142E-02** at limit **
  19  Prefactor     4.7995        5.4067        .18365E-03   -.12071E-03
  20  norm          .10000E-03    15.673        .18142E-02** at limit **
  21  Normalizat    1.4857        .25654        .33804E-03   -.86567E-04
  22  Prefactor     .77634        .96163E-01    .17337E-03   -.25713E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.0533
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.00283
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.56378
  Prefactor  = 0.0001
  Prefactor  = 3.57356
  norm       = 0.000100001
  norm       = 64.8417
  Prefactor  = 0.0001
  norm       = 9.37611
  Prefactor  = 9.62044
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.79952
  norm       = 0.0001
  Normalizat = 1.48575
  Prefactor  = 0.776338
 **********
 **   18 **HESSE 
 **********

 FCN=   9302.440     FROM HESSE     STATUS=OK           332 CALLS     3043 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    45.077        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    25.112        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          16.053        7.3277        .39991E-05   -1.4906    
   4  norm          .10000E-03    31.767        .20501       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    39.361        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.0028        243.41        .65616E-05   -1.5218    
   7  Prefactor     .10000E-03    16.970        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.761        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.5638        110.49        .13475E-04   -1.5458    
  10  Prefactor     .10000E-03    64.509        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.5736        11.700        .42745E-04   -1.5330    
  12  norm          .10000E-03    1.9734        .32736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          64.842        69.524        .99697E-05   -1.4096    
  14  Prefactor     .10000E-03    5.0661        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.3761        7.2214        .52348E-05   -1.5095    
  16  Prefactor     9.6204        5.7271        .51676E-05   -1.5088    
  17  Prefactor     .10000E-03    10.654        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    19.366        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.7995        5.4066        .73460E-05   -1.5270    
  20  norm          .10000E-03    15.673        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4857        .25669        .13522E-04   -.78180    
  22  Prefactor     .77634        .96240E-01    .34674E-04   -1.0061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.39615e-10
Minuit parameter uncertainties:
  1  0.000142363
  2  6.9882e-05
  3  7.32807
  4  0.00021683
  5  6.52596e-05
  6  76.7861
  7  2.29535e-05
  8  1.16174e-05
  9  26.3389
  10  0.000195858
  11  11.7076
  12  8.60073e-05
  13  69.6115
  14  4.38416e-06
  15  7.22209
  16  5.72745
  17  1.84878e-05
  18  9.72514e-05
  19  5.40715
  20  5.02707e-05
  21  0.256912
  22  0.0962605
Done.

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

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.000e-04  1.959e-04  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:  7.763e-01  9.626e-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.486e+00  2.569e-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: 8.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/272336/likelihoodResults_425952001_426211201_4FGL_J1753.7+2847_daily_bin720.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) = 9302.4404653
delta logL = -7.37657137506e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9302.44039171
delta logL = -1.72836735146e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10566E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5980       1.0000          .0000       10.000    
     3 'Normalizat'    1.4857       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77634       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=   9302.440     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      238 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.402        .90712E-02** at limit **
   2  Index         2.5725        8.4531        .50000        .37598E-05
   3  Normalizat    1.4857        .45460E-02    .76388E-01    .36190E-04
   4  Prefactor     .77634        .17601E-02    .43409E-01    .46317E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Index      = 2.5725
  Normalizat = 1.48575
  Prefactor  = 0.776339
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    231.15        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5725        5.8557        .50000       -.50693    
   3  Normalizat    1.4857        .11493E-01    .33804E-03   -.78180    
   4  Prefactor     .77634        .44539E-02    .17337E-03   -1.0061    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.87989e-08
Minuit parameter uncertainties:
  1  0.00199566
  2  249.231
  3  0.0114934
  4  0.00445388
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/272336': 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) = 9302.44039163
delta logL = -9.93386493064e-08

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.000e-04  1.996e-03  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.573e+00  2.492e+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:  7.763e-01  4.454e-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.486e+00  1.149e-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/272336/cmap_HighResolution_425952001_426211201_4FGL_J1753.7+2847_daily_bin720.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.40e-03', job_status='DONE', photon_flux_upper_limit='8.28e-08', time_completed='2021-09-18 20:56:21.936225', job_id='272336', GAL2='0.78', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1632023781.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='-9.93e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='720' AND source_name='4FGL J1753.7+2847' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 20:56:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 272336: <4FGL_J1753.7+2847_daily_bin720> in cluster <slac> Done

Job <4FGL_J1753.7+2847_daily_bin720> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 18 20:40:27 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 20:40:28 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:40:28 2021
Terminated at Sat Sep 18 20:56:22 2021
Results reported at Sat Sep 18 20:56:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.7+2847_daily_bin720 268.433 28.7967 425952001 426211201 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 :                                   936.46 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             348.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            955 sec.

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

