/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 4 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 = 5262
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1753.7+2847_daily_bin73
RA = 268.433, Dec = 28.7967
tmin = 258249601, tmax = 258508801
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='262239', job_status='RUN', time_executed='2021-09-18 20:05:39.051588', time_epoch_executed='1632020739.05' WHERE source_name='4FGL J1753.7+2847' and cadence='daily' and bin_id='73'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/262239

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

Retrieving the FT1 file...

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

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

Retrieving 33 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/262239/ft1_4FGL_J1753.7+2847_daily_bin73.fits


Retrieving the FT1 file...

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

Retrieving 33 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/262239/ft2_4FGL_J1753.7+2847_daily_bin73.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/262239/ft1_4FGL_J1753.7+2847_daily_bin73.fits outfile=/scratch/kocevski/262239/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin73.fits ra=268.433 dec=28.7967 rad=12.0 tmin=258249601.0 tmax=258508801.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 1.17
user 0.98
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/262239/ft2_4FGL_J1753.7+2847_daily_bin73.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/262239/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin73.fits evtable="EVENTS" outfile="/scratch/kocevski/262239/ft1_filtered_4FGL_J1753.7+2847_daily_bin73.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/262239/ft1_filtered_4FGL_J1753.7+2847_daily_bin73.fits" evtable="EVENTS" scfile=/scratch/kocevski/262239/ft2_4FGL_J1753.7+2847_daily_bin73.fits sctable="SC_DATA" outfile=/scratch/kocevski/262239/ltcube_258249601_258508801_4FGL_J1753.7+2847_daily_bin73.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/262239/ft2_4FGL_J1753.7+2847_daily_bin73.fits
.....................!
real 9.67
user 9.31
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/262239/ft1_filtered_4FGL_J1753.7+2847_daily_bin73.fits evtable="EVENTS" scfile=/scratch/kocevski/262239/ft2_4FGL_J1753.7+2847_daily_bin73.fits sctable="SC_DATA" expcube=/scratch/kocevski/262239/ltcube_258249601_258508801_4FGL_J1753.7+2847_daily_bin73.fits outfile=/scratch/kocevski/262239/expmap_258249601_258508801_4FGL_J1753.7+2847_daily_bin73.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/262239/ltcube_258249601_258508801_4FGL_J1753.7+2847_daily_bin73.fits
.....................!
real 189.28
user 184.55
sys 4.26

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/262239/ft1_filtered_4FGL_J1753.7+2847_daily_bin73.fits scfile=/scratch/kocevski/262239/ft2_4FGL_J1753.7+2847_daily_bin73.fits outfile=/scratch/kocevski/262239/cmap_258249601_258508801_4FGL_J1753.7+2847_daily_bin73.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/262239/ft1_filtered_4FGL_J1753.7+2847_daily_bin73.fits scfile=/scratch/kocevski/262239/ft2_4FGL_J1753.7+2847_daily_bin73.fits outfile=/scratch/kocevski/262239/cmap_HighResolution_258249601_258508801_4FGL_J1753.7+2847_daily_bin73.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/262239/ft1_filtered_4FGL_J1753.7+2847_daily_bin73.fits evtable="EVENTS" scfile=/scratch/kocevski/262239/ft2_4FGL_J1753.7+2847_daily_bin73.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/262239/Model_4FGL_J1753.7+2847_daily_bin73.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/262239/ft1_filtered_4FGL_J1753.7+2847_daily_bin73.fits....................!
real 62.34
user 60.96
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.225       1.0000         .10000E-03   10000.    
     3 'norm      '    30.342       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.920       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11232E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.0701       1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .44389E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10718E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    21.236       1.0000         .10000E-03   10000.    
    18 'norm      '    15.343       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10301E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    61.884       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0189       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96988       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=   7246.711     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2321 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.791       -.17164E-06** at limit **
   2  Prefactor     16.210        46.374       -.26786E-04   -.58108E-05
   3  norm          30.339        9.8151        .57219E-06   -.54402E-04
   4  norm          .10000E-03    31.503       -.10397E-04** at limit **
   5  Prefactor     .10000E-03    48.425        .15371E-04** at limit **
   6  Prefactor     .10000E-03    24.189       -.66055E-05** at limit **
   7  Prefactor     .10000E-03    6.4365        .26475E-06** at limit **
   8  Prefactor     .10000E-03    14.637       -.11283E-04** at limit **
   9  Prefactor     19.906        29.024       -.10346E-04   -.36899E-04
  10  Prefactor     .10000E-03    42.471        .14853E-04** at limit **
  11  Prefactor     .10000E-03    2.1862       -.51776E-06** at limit **
  12  norm          3.0701        2.1443       -.75956E-07   -.62624E-04
  13  norm          .10000E-03    32.590       -.79533E-05** at limit **
  14  Prefactor     .10003E-03    4.8237        .18004E-05** at limit **
  15  norm          .10000E-03    2.7987       -.17011E-07** at limit **
  16  Prefactor     .10000E-03    3.8332        .64506E-06** at limit **
  17  Prefactor     21.210        26.865       -.16022E-04   -.13129E-03
  18  norm          15.289        28.946       -.50047E-04   -.57143E-04
  19  Prefactor     .10000E-03    15.897        .16199E-04** at limit **
  20  norm          61.891        70.056        .71404E-05   -.55216E-04
  21  Normalizat    1.0195        .23837        .41420E-05   -.28910E-03
  22  Prefactor     .96970        .94853E-01    .14515E-05   -.75558E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 16.2096
  norm       = 30.3389
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.9062
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.07009
  norm       = 0.0001
  Prefactor  = 0.000100028
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 21.2104
  norm       = 15.2892
  Prefactor  = 0.0001
  norm       = 61.8908
  Normalizat = 1.01948
  Prefactor  = 0.969701
 **********
 **   18 **HESSE 
 **********

 FCN=   7246.711     FROM HESSE     STATUS=OK           334 CALLS     2655 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.210        46.363        .99433E-04   -1.4903    
   3  norm          30.339        9.8272        .72738E-04   -1.4606    
   4  norm          .10000E-03    31.504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    48.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    24.192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.4451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.906        29.040        .89741E-04   -1.4815    
  10  Prefactor     .10000E-03    42.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.1884        .12292E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.0701        2.1430        .10133E-03   -1.5358    
  13  norm          .10000E-03    32.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10003E-03    14.292        .35761E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.7997        .13907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.8606        .16249E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     21.210        26.868        .86917E-04   -1.4787    
  18  norm          15.289        29.025        .10225E-03   -1.4926    
  19  Prefactor     .10000E-03    16.467        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          61.891        70.059        .51007E-04   -1.4133    
  21  Normalizat    1.0195        .27532        .38261E-03   -.92381    
  22  Prefactor     .96970        .11103        .15960E-03   -.93746    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48774e-09
Minuit parameter uncertainties:
  1  2.48957e-05
  2  46.4666
  3  9.8277
  4  1.63451e-05
  5  3.5746e-05
  6  1.10356e-06
  7  4.28921e-07
  8  1.03875e-05
  9  29.0602
  10  0.000291758
  11  9.25592e-07
  12  2.14309
  13  1.8732e-05
  14  0.00125956
  15  2.41285e-05
  16  0.000134026
  17  26.8832
  18  29.0516
  19  0.000122648
  20  70.1529
  21  0.275706
  22  0.111057
Done.

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

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.000e-04  2.918e-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:  9.697e-01  1.111e-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.019e+00  2.757e-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.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/262239/likelihoodResults_258249601_258508801_4FGL_J1753.7+2847_daily_bin73.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) = 7246.71084059
delta logL = -0.000111870829642

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7246.71072871
delta logL = 1.50785126607e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3728       1.0000          .0000       10.000    
     3 'Normalizat'    1.0195       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96971       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=   7246.711     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      251 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10639E-03    24.641        .18142E-01** at limit **
   2  Index         2.1730        5.4162        .50000        .29361E-05
   3  Normalizat    1.0195        .42856E-02    .38261E-03    .55565E-05
   4  Prefactor     .96970        .17607E-02    .15960E-03    .10898E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000106388
  Index      = 2.17298
  Normalizat = 1.01948
  Prefactor  = 0.969701
 **********
 **   18 **HESSE 
 **********

 FCN=   7246.711     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      280 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10639E-03    465.76        .36285E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1730        8.7618        .50000       -.60092    
   3  Normalizat    1.0195        .18922E-01    .15304E-04   -.92381    
   4  Prefactor     .96970        .77739E-02    .63841E-05   -.93746    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.43508e-09
Minuit parameter uncertainties:
  1  0.109958
  2  1391.75
  3  0.0189222
  4  0.00777386
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/262239': 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) = 7246.71072859
delta logL = 1.3859335013e-07

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.064e-04  1.100e-01  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.173e+00  1.392e+03  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:  9.697e-01  7.774e-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.019e+00  1.892e-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/262239/cmap_HighResolution_258249601_258508801_4FGL_J1753.7+2847_daily_bin73.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.52e-03', job_status='DONE', photon_flux_upper_limit='8.44e-08', time_completed='2021-09-18 20:18:14.710143', job_id='262239', GAL2='0.97', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1632021494.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.39e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='73' AND source_name='4FGL J1753.7+2847' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 20:18:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 262239: <4FGL_J1753.7+2847_daily_bin73> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.7+2847_daily_bin73 268.433 28.7967 258249601 258508801 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 :                                   753.50 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             372.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   767 sec.
    Turnaround time :                            770 sec.

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

