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


Performing analysis on: 4FGL_J1753.7+2847_daily_bin1529
RA = 268.433, Dec = 28.7967
tmin = 635644801, tmax = 635904001
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='281074', job_status='RUN', time_executed='2021-09-18 21:05:43.669895', time_epoch_executed='1632024343.67' WHERE source_name='4FGL J1753.7+2847' and cadence='daily' and bin_id='1529'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/281074

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/281074/ft1_4FGL_J1753.7+2847_daily_bin1529.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/281074/ft2_4FGL_J1753.7+2847_daily_bin1529.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/281074/ft1_4FGL_J1753.7+2847_daily_bin1529.fits outfile=/scratch/kocevski/281074/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin1529.fits ra=268.433 dec=28.7967 rad=12.0 tmin=635644801.0 tmax=635904001.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 4.32
user 4.10
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/281074/ft2_4FGL_J1753.7+2847_daily_bin1529.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/281074/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin1529.fits evtable="EVENTS" outfile="/scratch/kocevski/281074/ft1_filtered_4FGL_J1753.7+2847_daily_bin1529.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.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/281074/ft1_filtered_4FGL_J1753.7+2847_daily_bin1529.fits" evtable="EVENTS" scfile=/scratch/kocevski/281074/ft2_4FGL_J1753.7+2847_daily_bin1529.fits sctable="SC_DATA" outfile=/scratch/kocevski/281074/ltcube_635644801_635904001_4FGL_J1753.7+2847_daily_bin1529.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/281074/ft2_4FGL_J1753.7+2847_daily_bin1529.fits
.....................!
real 11.87
user 11.50
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/281074/ft1_filtered_4FGL_J1753.7+2847_daily_bin1529.fits evtable="EVENTS" scfile=/scratch/kocevski/281074/ft2_4FGL_J1753.7+2847_daily_bin1529.fits sctable="SC_DATA" expcube=/scratch/kocevski/281074/ltcube_635644801_635904001_4FGL_J1753.7+2847_daily_bin1529.fits outfile=/scratch/kocevski/281074/expmap_635644801_635904001_4FGL_J1753.7+2847_daily_bin1529.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/281074/ltcube_635644801_635904001_4FGL_J1753.7+2847_daily_bin1529.fits
.....................!
real 190.10
user 185.35
sys 4.42

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/281074/ft1_filtered_4FGL_J1753.7+2847_daily_bin1529.fits scfile=/scratch/kocevski/281074/ft2_4FGL_J1753.7+2847_daily_bin1529.fits outfile=/scratch/kocevski/281074/cmap_635644801_635904001_4FGL_J1753.7+2847_daily_bin1529.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.52
user 0.38
sys 0.13

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/281074/ft1_filtered_4FGL_J1753.7+2847_daily_bin1529.fits evtable="EVENTS" scfile=/scratch/kocevski/281074/ft2_4FGL_J1753.7+2847_daily_bin1529.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/281074/Model_4FGL_J1753.7+2847_daily_bin1529.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/281074/ft1_filtered_4FGL_J1753.7+2847_daily_bin1529.fits.....................!
real 86.35
user 85.05
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    132.84       1.0000         .10000E-03   10000.    
     3 'norm      '    .10757E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    88.800       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    77.718       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.9856       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .26756E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    103.76       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2038       1.0000         .10000E-03   10000.    
    12 'norm      '    .11564E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10080E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.4677       1.0000         .10000E-03   10000.    
    15 'norm      '    .10168E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.877       1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.911       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.815       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .63278       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1116       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=   10348.52     FROM MIGRAD    STATUS=CONVERGED    445 CALLS     2325 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.695        .84436E-05** at limit **
   2  Prefactor     132.80        57.462       -.35778E-04   -.38137E-04
   3  norm          .10000E-03    3.9968        .12270E-05** at limit **
   4  norm          88.796        77.238       -.31865E-05   -.84111E-05
   5  Prefactor     .10000E-03    18.671       -.55243E-05** at limit **
   6  Prefactor     77.721        81.095        .30816E-05   -.36953E-05
   7  Prefactor     4.9854        15.018        .81021E-06   -.61092E-04
   8  Prefactor     .10000E-03    17.661       -.84688E-05** at limit **
   9  Prefactor     .10004E-03    45.020        .44441E-05** at limit **
  10  Prefactor     103.72        72.233       -.37196E-04   -.44100E-04
  11  Prefactor     2.1997        8.9667       -.99472E-06   -.33300E-03
  12  norm          .10000E-03    1.1549        .21281E-06** at limit **
  13  norm          .10000E-03    34.384       -.11141E-04** at limit **
  14  Prefactor     2.4677        2.6762       -.13046E-06    .10357E-03
  15  norm          .10000E-03    7.5000       -.28625E-06** at limit **
  16  Prefactor     10.877        5.6978        .28698E-06   -.23120E-03
  17  Prefactor     23.917        22.561        .51172E-05   -.50763E-04
  18  norm          .10000E-03    24.206        .21338E-04** at limit **
  19  Prefactor     18.814        10.571       -.10538E-05   -.25582E-03
  20  norm          .10000E-03    15.897       -.50397E-05** at limit **
  21  Normalizat    .63274        .22980        .12099E-04   -.69406E-04
  22  Prefactor     1.1116        .91488E-01   -.95518E-06    .19625E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 132.796
  norm       = 0.000100004
  norm       = 88.7965
  Prefactor  = 0.0001
  Prefactor  = 77.7211
  Prefactor  = 4.98539
  Prefactor  = 0.0001
  Prefactor  = 0.00010004
  Prefactor  = 103.718
  Prefactor  = 2.19975
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.4677
  norm       = 0.0001
  Prefactor  = 10.877
  Prefactor  = 23.9167
  norm       = 0.0001
  Prefactor  = 18.8138
  norm       = 0.0001
  Normalizat = 0.632736
  Prefactor  = 1.11164
 **********
 **   18 **HESSE 
 **********

 FCN=   10348.52     FROM HESSE     STATUS=OK           342 CALLS     2667 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     132.80        57.421        .17469E-03   -1.3398    
   3  norm          .10000E-03    4.0899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          88.796        77.304        .21319E-03   -1.3821    
   5  Prefactor     .10000E-03    18.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     77.721        81.045        .45551E-04   -1.3942    
   7  Prefactor     4.9854        14.883        .18011E-03   -1.5261    
   8  Prefactor     .10000E-03    17.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10004E-03    45.380        .21437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     103.72        72.080        .19737E-03   -1.3668    
  11  Prefactor     2.1997        8.9198        .27713E-03   -1.5411    
  12  norm          .10000E-03    2.9874        .21087E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    34.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.4677        2.6773        .16861E-03   -1.5394    
  15  norm          .10000E-03    7.5911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.877        5.6887        .12148E-03   -1.5048    
  17  Prefactor     23.917        22.499        .81917E-04   -1.4729    
  18  norm          .10000E-03    24.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     18.814        10.576        .92336E-04   -1.4840    
  20  norm          .10000E-03    15.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .63274        .24530        .49042E-03   -1.0661    
  22  Prefactor     1.1116        .99641E-01    .15694E-03   -.89095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3553e-09
Minuit parameter uncertainties:
  1  2.2311e-05
  2  57.4452
  3  0.000240823
  4  77.3921
  5  7.18185e-05
  6  81.1605
  7  14.8936
  8  0.00010748
  9  0.00269138
  10  72.1408
  11  8.86129
  12  4.34582e-05
  13  2.18844e-05
  14  2.67745
  15  6.38741e-05
  16  5.68901
  17  22.5069
  18  4.81904e-05
  19  10.5767
  20  6.61853e-07
  21  0.245721
  22  0.0996576
Done.

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

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.037e+02  7.214e+01  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:  1.112e+00  9.966e-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:  6.327e-01  2.457e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.42
Ra Dec: 268.433 28.797
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 5.93e-08 +/- 4.12e-08
Energy Flux (Fixed Index): 1.95e-05 +/- 1.36e-05

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

Saving results to:
/scratch/kocevski/281074/likelihoodResults_635644801_635904001_4FGL_J1753.7+2847_daily_bin1529.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) = 10348.4285807
delta logL = 0.0914574640628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10348.4242163
delta logL = 0.0958218692358

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    136.65       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1427       1.0000          .0000       10.000    
     3 'Normalizat'    .64693       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1086       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=   10348.42     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      311 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     136.81        118.18        .17227E-03    .30357E-05
   2  Index         2.1440        .57479        .71044E-02    .18931E-04
   3  Normalizat    .64670        .23601        .48545E-03   -.28852E-04
   4  Prefactor     1.1084        .97808E-01    .15714E-03    .88554E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 136.815
  Index      = 2.144
  Normalizat = 0.646697
  Prefactor  = 1.1084
 **********
 **   18 **HESSE 
 **********

 FCN=   10348.42     FROM HESSE     STATUS=OK            25 CALLS      336 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     136.81        113.98        .68908E-05   -1.3363    
   2  Index         2.1440        .55399        .28418E-03   -.60797    
   3  Normalizat    .64670        .23587        .19418E-04   -1.0604    
   4  Prefactor     1.1084        .97811E-01    .62855E-05   -.89198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95773e-11
Minuit parameter uncertainties:
  1  114.164
  2  0.555681
  3  0.23624
  4  0.0978264
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/281074': 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) = 10348.4241975
delta logL = 0.0958407124726

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  1.368e+02  1.142e+02  1.000e-04  1.000e+04 ( 1.000e-14)
342        Index:  2.144e+00  5.557e-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:  1.108e+00  9.783e-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:  6.467e-01  2.362e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.60
Ra Dec: 268.433 28.797
Photon Index (Free Index): 2.14 +/- 0.56
Photon Flux (Free Index): 4.72e-08 +/- 4.38e-08
Energy Flux (Free Index): 2.36e-05 +/- 2.05e-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/281074/cmap_HighResolution_635644801_635904001_4FGL_J1753.7+2847_daily_bin1529.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', comment='SUCCESS', photon_flux='5.93e-08', energy_flux2='2.36e-05', photon_flux_error='4.12e-08', dlogl='9.58e-02', energy_flux='1.95e-05', photon_flux2='4.72e-08', job_status='DONE', time_completed='2021-09-18 21:22:01.552585', photon_index_error2='0.56', photon_index2='2.14', ts='3.42', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.47e-07', energy_flux_error2='2.05e-05', EG='0.63', time_epoch_completed='1632025321.55', return_code='0', job_id='281074', GAL2='1.11', EG2='0.65', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='4.38e-08', ts2='3.60', photon_index='2.40' WHERE bin_id='1529' AND source_name='4FGL J1753.7+2847' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 21:22:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 281074: <4FGL_J1753.7+2847_daily_bin1529> in cluster <slac> Done

Job <4FGL_J1753.7+2847_daily_bin1529> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep 18 21:05:33 2021
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 21:05:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 18 21:05:34 2021
Terminated at Sat Sep 18 21:22:02 2021
Results reported at Sat Sep 18 21:22:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.7+2847_daily_bin1529 268.433 28.7967 635644801 635904001 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 :                                   967.23 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             366.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   987 sec.
    Turnaround time :                            989 sec.

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

