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


Performing analysis on: 4FGL_J1753.9+2443_daily_bin1105
RA = 268.496, Dec = 24.7297
tmin = 525744001, tmax = 526003201
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='289705', job_status='RUN', time_executed='2021-09-18 21:35:48.886233', time_epoch_executed='1632026148.89' WHERE source_name='4FGL J1753.9+2443' and cadence='daily' and bin_id='1105'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/289705

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/289705/ft1_4FGL_J1753.9+2443_daily_bin1105.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/289705/ft2_4FGL_J1753.9+2443_daily_bin1105.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/289705/ft1_4FGL_J1753.9+2443_daily_bin1105.fits outfile=/scratch/kocevski/289705/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin1105.fits ra=268.496 dec=24.7297 rad=12.0 tmin=525744001.0 tmax=526003201.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.31
user 4.10
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/289705/ft2_4FGL_J1753.9+2443_daily_bin1105.fits

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/289705/ft1_filtered_4FGL_J1753.9+2443_daily_bin1105.fits" evtable="EVENTS" scfile=/scratch/kocevski/289705/ft2_4FGL_J1753.9+2443_daily_bin1105.fits sctable="SC_DATA" outfile=/scratch/kocevski/289705/ltcube_525744001_526003201_4FGL_J1753.9+2443_daily_bin1105.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/289705/ft2_4FGL_J1753.9+2443_daily_bin1105.fits
.....................!
real 11.62
user 11.28
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/289705/ft1_filtered_4FGL_J1753.9+2443_daily_bin1105.fits evtable="EVENTS" scfile=/scratch/kocevski/289705/ft2_4FGL_J1753.9+2443_daily_bin1105.fits sctable="SC_DATA" expcube=/scratch/kocevski/289705/ltcube_525744001_526003201_4FGL_J1753.9+2443_daily_bin1105.fits outfile=/scratch/kocevski/289705/expmap_525744001_526003201_4FGL_J1753.9+2443_daily_bin1105.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/289705/ltcube_525744001_526003201_4FGL_J1753.9+2443_daily_bin1105.fits
.....................!
real 189.80
user 185.35
sys 4.10

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

Setting source of interest to:
4FGL J1753.9+2443 @ 268.496 24.7297

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/289705/ft1_filtered_4FGL_J1753.9+2443_daily_bin1105.fits scfile=/scratch/kocevski/289705/ft2_4FGL_J1753.9+2443_daily_bin1105.fits outfile=/scratch/kocevski/289705/cmap_525744001_526003201_4FGL_J1753.9+2443_daily_bin1105.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.496 yref=24.7297 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/289705/ft1_filtered_4FGL_J1753.9+2443_daily_bin1105.fits scfile=/scratch/kocevski/289705/ft2_4FGL_J1753.9+2443_daily_bin1105.fits outfile=/scratch/kocevski/289705/cmap_HighResolution_525744001_526003201_4FGL_J1753.9+2443_daily_bin1105.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.496 yref=24.7297 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/289705/ft1_filtered_4FGL_J1753.9+2443_daily_bin1105.fits evtable="EVENTS" scfile=/scratch/kocevski/289705/ft2_4FGL_J1753.9+2443_daily_bin1105.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/289705/Model_4FGL_J1753.9+2443_daily_bin1105.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/289705/ft1_filtered_4FGL_J1753.9+2443_daily_bin1105.fits.....................!
real 88.59
user 87.22
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/289705/ft1_filtered_4FGL_J1753.9+2443_daily_bin1105.fits', '/scratch/kocevski/289705/ft2_4FGL_J1753.9+2443_daily_bin1105.fits', expMap='/scratch/kocevski/289705/expmap_525744001_526003201_4FGL_J1753.9+2443_daily_bin1105.fits', expCube='/scratch/kocevski/289705/ltcube_525744001_526003201_4FGL_J1753.9+2443_daily_bin1105.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/289705/Model_4FGL_J1753.9+2443_daily_bin1105.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1753.9+2443'

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  1.323e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
322        Index:  2.200e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.730e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/289705/ft1_filtered_4FGL_J1753.9+2443_daily_bin1105.fits
Spacecraft file(s): /scratch/kocevski/289705/ft2_4FGL_J1753.9+2443_daily_bin1105.fits
Exposure map: /scratch/kocevski/289705/expmap_525744001_526003201_4FGL_J1753.9+2443_daily_bin1105.fits
Exposure cube: /scratch/kocevski/289705/ltcube_525744001_526003201_4FGL_J1753.9+2443_daily_bin1105.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/289705/Model_4FGL_J1753.9+2443_daily_bin1105.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) = 10117.8281564

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.324       1.0000         .10000E-03   10000.    
     2 'norm      '    1.3595       1.0000         .10000E-03   10000.    
     3 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .38440E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10915E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.597       1.0000         .10000E-03   10000.    
     7 'Prefactor '    29.655       1.0000         .10000E-03   10000.    
     8 'Prefactor '    159.07       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.610       1.0000         .10000E-03   10000.    
    10 'norm      '    .10929E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    11.443       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.1414       1.0000         .10000E-03   10000.    
    13 'norm      '    .44405       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.2812       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.238       1.0000         .10000E-03   10000.    
    17 'norm      '    40.475       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2850       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .84898       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10117.70     FROM MIGRAD    STATUS=CONVERGED    400 CALLS     2088 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.276        63.267       -.99826E-04    .22294E-04
   2  norm          1.3596        1.8542       -.32248E-06   -.41225E-03
   3  norm          .10000E-03    33.719        .35949E-04** at limit **
   4  Prefactor     .10000E-03    318.59       -.18530E-03** at limit **
   5  Prefactor     .10000E-03    31.118       -.30823E-04** at limit **
   6  Prefactor     18.512        60.147       -.16519E-03    .33644E-04
   7  Prefactor     29.687        58.055        .52359E-04    .28104E-03
   8  Prefactor     159.05        132.77       -.12439E-04    .19231E-03
   9  Prefactor     22.609        10.917        .19805E-05    .22626E-03
  10  norm          .10000E-03    .85232       -.44581E-06** at limit **
  11  norm          11.436        107.48       -.15736E-04    .14999E-03
  12  Prefactor     6.1402        7.8038       -.71812E-06    .10007E-03
  13  norm          .44371        4.9657       -.11316E-05    .21590E-03
  14  Prefactor     .10000E-03    11.665        .10355E-08** at limit **
  15  Prefactor     4.2816        4.6677        .17703E-06   -.75579E-04
  16  Prefactor     12.231        21.403       -.56677E-05    .13316E-03
  17  norm          40.461        33.092       -.11587E-04    .51202E-05
  18  Prefactor     .10000E-03    3.6717       -.28831E-07** at limit **
  19  Normalizat    1.2856        .23612        .12238E-04    .43520E-03
  20  Prefactor     .84881        .74958E-01   -.28839E-06    .17097E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.2757
  norm       = 1.35955
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 18.5122
  Prefactor  = 29.6868
  Prefactor  = 159.051
  Prefactor  = 22.609
  norm       = 0.000100001
  norm       = 11.4365
  Prefactor  = 6.14017
  norm       = 0.443707
  Prefactor  = 0.0001
  Prefactor  = 4.28161
  Prefactor  = 12.2307
  norm       = 40.461
  Prefactor  = 0.0001
  Normalizat = 1.28563
  Prefactor  = 0.84881
 **********
 **   18 **HESSE 
 **********

 FCN=   10117.70     FROM HESSE     STATUS=OK           293 CALLS     2381 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.276        63.514        .96227E-04   -1.4876    
   2  norm          1.3596        1.8306        .15572E-03   -1.5475    
   3  norm          .10000E-03    33.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    321.00        .21282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    31.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.512        60.217        .92876E-04   -1.4847    
   7  Prefactor     29.687        58.044        .73573E-04   -1.4618    
   8  Prefactor     159.05        132.33        .15985E-03   -1.3179    
   9  Prefactor     22.609        10.916        .84238E-04   -1.4757    
  10  norm          .10000E-03    1.5070        .17968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.436        105.96        .11843E-03   -1.5031    
  12  Prefactor     6.1402        7.8055        .16200E-03   -1.5212    
  13  norm          .44371        37.680        .41451E-02   -1.5575    
  14  Prefactor     .10000E-03    11.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.2816        4.6476        .19471E-03   -1.5294    
  16  Prefactor     12.231        21.874        .11451E-03   -1.5008    
  17  norm          40.461        33.108        .63006E-04   -1.4435    
  18  Prefactor     .10000E-03    3.6833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2856        .27746        .40195E-03   -.83996    
  20  Prefactor     .84881        .88320E-01    .16085E-03   -.97953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60191e-09
Minuit parameter uncertainties:
  1  63.7641
  2  1.83068
  3  3.35627e-05
  4  0.00124719
  5  0.000214239
  6  60.4161
  7  58.1544
  8  132.577
  9  10.9167
  10  5.92811e-05
  11  69.7864
  12  7.80675
  13  8.1821
  14  2.85356e-05
  15  4.64802
  16  21.888
  17  33.1227
  18  4.17177e-06
  19  0.27778
  20  0.0883351
Done.

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

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  2.261e+01  1.092e+01  1.000e-04  1.000e+04 ( 1.000e-13)
322        Index:  2.200e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.730e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
692    Prefactor:  8.488e-01  8.834e-02  0.000e+00  1.000e+01 ( 1.000e+00)
693        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
694        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
691   Normalization:  1.286e+00  2.778e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.59
Ra Dec: 268.496 24.730
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 9.97e-08 +/- 4.81e-08
Energy Flux (Fixed Index): 4.48e-05 +/- 2.16e-05

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) = 10117.4654893
delta logL = 0.231580186768

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10117.465082
delta logL = 0.231987557847

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.930       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9685       1.0000          .0000       10.000    
     3 'Normalizat'    1.3037       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84602       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10117.47     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      269 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.912        259.00        .18951E-02    .59917E-04
   2  Index         1.9678        2.7722        .16869        .15662E-03
   3  Normalizat    1.3037        .15943        .90248E-01    .44380E-04
   4  Prefactor     .84605        .36018E-01    .44313E-01   -.27664E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.9118
  Index      = 1.96783
  Normalizat = 1.30374
  Prefactor  = 0.84605
 **********
 **   18 **HESSE 
 **********

 FCN=   10117.47     FROM HESSE     STATUS=OK            33 CALLS      302 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.912        14.985        .75805E-04   -1.4651    
   2  Index         1.9678        .33889        .59195E-02   -.65157    
   3  Normalizat    1.3037        .26057        .39968E-03   -.83455    
   4  Prefactor     .84605        .86986E-01    .16110E-03   -.98053    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18173e-11
Minuit parameter uncertainties:
  1  14.9875
  2  0.339304
  3  0.260831
  4  0.0870006
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/289705': 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) = 10117.4650771
delta logL = 0.231992401699

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  2.791e+01  1.499e+01  1.000e-04  1.000e+04 ( 1.000e-13)
322        Index:  1.968e+00  3.393e-01  0.000e+00  1.000e+01 (-1.000e+00)
323        Scale:  1.730e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
692    Prefactor:  8.461e-01  8.700e-02  0.000e+00  1.000e+01 ( 1.000e+00)
693        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
694        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
691   Normalization:  1.304e+00  2.608e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.07
Ra Dec: 268.496 24.730
Photon Index (Free Index): 1.97 +/- 0.34
Photon Flux (Free Index): 7.86e-08 +/- 4.94e-08
Energy Flux (Free Index): 5.89e-05 +/- 4.00e-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/289705/cmap_HighResolution_525744001_526003201_4FGL_J1753.9+2443_daily_bin1105.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.97e-08', energy_flux2='5.89e-05', photon_flux_error='4.81e-08', dlogl='2.32e-01', energy_flux='4.48e-05', photon_flux2='7.86e-08', job_status='DONE', time_completed='2021-09-18 21:48:42.709010', photon_index_error2='0.34', photon_index2='1.97', ts='9.59', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='4.00e-05', EG='1.29', time_epoch_completed='1632026922.71', return_code='0', job_id='289705', GAL2='0.85', EG2='1.30', return_code2='0', energy_flux_error='2.16e-05', photon_flux_error2='4.94e-08', ts2='10.07', photon_index='2.20' WHERE bin_id='1105' AND source_name='4FGL J1753.9+2443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 21:48:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 289705: <4FGL_J1753.9+2443_daily_bin1105> in cluster <slac> Done

Job <4FGL_J1753.9+2443_daily_bin1105> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 18 21:35:39 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 21:35:40 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:35:40 2021
Terminated at Sat Sep 18 21:48:43 2021
Results reported at Sat Sep 18 21:48:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.9+2443_daily_bin1105 268.496 24.7297 525744001 526003201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1753.9+2443 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   770.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             373.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            784 sec.

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

