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


Performing analysis on: 4FGL_J1753.9+2443_daily_bin864
RA = 268.496, Dec = 24.7297
tmin = 463276801, tmax = 463536001
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='288233', job_status='RUN', time_executed='2021-09-18 21:30:56.935764', time_epoch_executed='1632025856.94' WHERE source_name='4FGL J1753.9+2443' and cadence='daily' and bin_id='864'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/288233

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/288233/ft1_4FGL_J1753.9+2443_daily_bin864.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/288233/ft2_4FGL_J1753.9+2443_daily_bin864.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/288233/ft1_4FGL_J1753.9+2443_daily_bin864.fits outfile=/scratch/kocevski/288233/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin864.fits ra=268.496 dec=24.7297 rad=12.0 tmin=463276801.0 tmax=463536001.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.72
user 3.43
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/288233/ft2_4FGL_J1753.9+2443_daily_bin864.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/288233/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin864.fits evtable="EVENTS" outfile="/scratch/kocevski/288233/ft1_filtered_4FGL_J1753.9+2443_daily_bin864.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.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/288233/ft1_filtered_4FGL_J1753.9+2443_daily_bin864.fits" evtable="EVENTS" scfile=/scratch/kocevski/288233/ft2_4FGL_J1753.9+2443_daily_bin864.fits sctable="SC_DATA" outfile=/scratch/kocevski/288233/ltcube_463276801_463536001_4FGL_J1753.9+2443_daily_bin864.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/288233/ft2_4FGL_J1753.9+2443_daily_bin864.fits
.....................!
real 12.13
user 11.81
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/288233/ft1_filtered_4FGL_J1753.9+2443_daily_bin864.fits evtable="EVENTS" scfile=/scratch/kocevski/288233/ft2_4FGL_J1753.9+2443_daily_bin864.fits sctable="SC_DATA" expcube=/scratch/kocevski/288233/ltcube_463276801_463536001_4FGL_J1753.9+2443_daily_bin864.fits outfile=/scratch/kocevski/288233/expmap_463276801_463536001_4FGL_J1753.9+2443_daily_bin864.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/288233/ltcube_463276801_463536001_4FGL_J1753.9+2443_daily_bin864.fits
.....................!
real 190.38
user 185.18
sys 4.84

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/288233/ft1_filtered_4FGL_J1753.9+2443_daily_bin864.fits scfile=/scratch/kocevski/288233/ft2_4FGL_J1753.9+2443_daily_bin864.fits outfile=/scratch/kocevski/288233/cmap_463276801_463536001_4FGL_J1753.9+2443_daily_bin864.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/288233/ft1_filtered_4FGL_J1753.9+2443_daily_bin864.fits scfile=/scratch/kocevski/288233/ft2_4FGL_J1753.9+2443_daily_bin864.fits outfile=/scratch/kocevski/288233/cmap_HighResolution_463276801_463536001_4FGL_J1753.9+2443_daily_bin864.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.56
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/288233/ft1_filtered_4FGL_J1753.9+2443_daily_bin864.fits', '/scratch/kocevski/288233/ft2_4FGL_J1753.9+2443_daily_bin864.fits', expMap='/scratch/kocevski/288233/expmap_463276801_463536001_4FGL_J1753.9+2443_daily_bin864.fits', expCube='/scratch/kocevski/288233/ltcube_463276801_463536001_4FGL_J1753.9+2443_daily_bin864.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/288233/Model_4FGL_J1753.9+2443_daily_bin864.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/288233/ft1_filtered_4FGL_J1753.9+2443_daily_bin864.fits
Spacecraft file(s): /scratch/kocevski/288233/ft2_4FGL_J1753.9+2443_daily_bin864.fits
Exposure map: /scratch/kocevski/288233/expmap_463276801_463536001_4FGL_J1753.9+2443_daily_bin864.fits
Exposure cube: /scratch/kocevski/288233/ltcube_463276801_463536001_4FGL_J1753.9+2443_daily_bin864.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/288233/Model_4FGL_J1753.9+2443_daily_bin864.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) = 10180.7166819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.705       1.0000         .10000E-03   10000.    
     2 'norm      '    14.411       1.0000         .10000E-03   10000.    
     3 'norm      '    74.979       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12749E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.265       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.723       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11683E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.3772       1.0000         .10000E-03   10000.    
    11 'norm      '    49.661       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.5438       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.2520       1.0000         .10000E-03   10000.    
    17 'norm      '    12.957       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.5286       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0292       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97310       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=   10180.69     FROM MIGRAD    STATUS=CONVERGED    401 CALLS     2022 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.705        27.669        .98020E-07   -.61428E-05
   2  norm          14.412        4.4778        .35956E-07   -.15609E-03
   3  norm          74.985        72.187        .47948E-06    .32372E-04
   4  Prefactor     .10013E-03    158.76       -.91857E-05** at limit **
   5  Prefactor     18.238        16.583       -.22591E-06    .85400E-04
   6  Prefactor     .10000E-03    60.160       -.12383E-06** at limit **
   7  Prefactor     20.707        36.429       -.12016E-05   -.12365E-03
   8  Prefactor     .10000E-03    60.204       -.89804E-06** at limit **
   9  Prefactor     .10000E-03    8.4107       -.89198E-08** at limit **
  10  norm          1.3766        1.3680       -.79647E-08   -.15853E-04
  11  norm          49.645        50.411       -.39001E-06   -.82815E-04
  12  Prefactor     .10000E-03    3.5834       -.21581E-07** at limit **
  13  norm          5.5444        7.1847       -.74173E-06   -.40188E-04
  14  Prefactor     .10000E-03    32.268       -.60044E-08** at limit **
  15  Prefactor     .10000E-03    1.3098       -.16820E-06** at limit **
  16  Prefactor     3.2512        18.928        .15434E-04   -.83589E-04
  17  norm          12.958        16.276        .15081E-08   -.24799E-06
  18  Prefactor     3.5296        8.1768        .31946E-06    .64571E-04
  19  Normalizat    1.0294        .23876       -.76822E-06   -.43323E-04
  20  Prefactor     .97299        .80510E-01   -.39886E-06   -.42425E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.7052
  norm       = 14.4117
  norm       = 74.9855
  Prefactor  = 0.000100129
  Prefactor  = 18.2383
  Prefactor  = 0.000100001
  Prefactor  = 20.7065
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.37662
  norm       = 49.645
  Prefactor  = 0.0001
  norm       = 5.54444
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.25116
  norm       = 12.9582
  Prefactor  = 3.52964
  Normalizat = 1.02942
  Prefactor  = 0.972993
 **********
 **   18 **HESSE 
 **********

 FCN=   10180.69     FROM HESSE     STATUS=OK           289 CALLS     2311 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.705        27.669        .95184E-04   -1.4866    
   2  norm          14.412        4.4786        .10551E-03   -1.4949    
   3  norm          74.985        72.202        .46370E-04   -1.3974    
   4  Prefactor     .10013E-03    160.73        .20594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.238        16.647        .93715E-04   -1.4854    
   6  Prefactor     .10000E-03    60.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.707        36.714        .87985E-04   -1.4798    
   8  Prefactor     .10000E-03    60.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.6660        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.3766        1.3503        .11404E-03   -1.5473    
  11  norm          49.645        50.395        .56906E-04   -1.4298    
  12  Prefactor     .10000E-03    3.6856        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.5444        7.1803        .17063E-03   -1.5237    
  14  Prefactor     .10000E-03    32.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.3212        .11282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.2512        19.005        .11229E-02   -1.5347    
  17  norm          12.958        16.277        .11128E-03   -1.4988    
  18  Prefactor     3.5296        8.1620        .21520E-03   -1.5332    
  19  Normalizat    1.0294        .27444        .42456E-03   -.92051    
  20  Prefactor     .97299        .92702E-01    .15366E-03   -.93635    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04537e-09
Minuit parameter uncertainties:
  1  27.6893
  2  4.4787
  3  72.287
  4  0.00913242
  5  16.6511
  6  0.00035279
  7  36.7544
  8  0.000431079
  9  1.37474e-05
  10  1.35032
  11  50.4383
  12  1.3015e-06
  13  7.18141
  14  3.84213e-05
  15  9.74501e-06
  16  15.7283
  17  16.2821
  18  8.16454
  19  0.274817
  20  0.0927171
Done.

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

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  1.000e-04  1.375e-05  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:  9.730e-01  9.272e-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.029e+00  2.748e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 268.496 24.730
Photon Flux Upper Limit: 7.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/288233/likelihoodResults_463276801_463536001_4FGL_J1753.9+2443_daily_bin864.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) = 10180.6927739
delta logL = -0.000550804965314

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10180.6922237
delta logL = -6.01101419306e-07

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10180.69     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      259 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10252E-03    27.293        .36285E-02** at limit **
   2  Index         2.0680        7.1839        .50000        .14245E-04
   3  Normalizat    1.0294        .97303E-02    .42455E-03   -.59072E-04
   4  Prefactor     .97299        .34609E-02    .15366E-03   -.19952E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102521
  Index      = 2.06797
  Normalizat = 1.02942
  Prefactor  = 0.972993
 **********
 **   18 **HESSE 
 **********

 FCN=   10180.69     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      288 TOTAL
                     EDM=   .53E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10252E-03    329.20        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0680        7.4111        .50000       -.62661    
   3  Normalizat    1.0294        .35090E-01    .16982E-04   -.92051    
   4  Prefactor     .97299        .12476E-01    .30732E-04   -.93635    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.30325e-08
Minuit parameter uncertainties:
  1  0.0579362
  2  784.763
  3  0.0350911
  4  0.0124757
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/288233': 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) = 10180.6922225
delta logL = 5.49653123016e-07

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  1.025e-04  5.794e-02  1.000e-04  1.000e+04 ( 1.000e-13)
322        Index:  2.068e+00  7.848e+02  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:  9.730e-01  1.248e-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.029e+00  3.509e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 268.496 24.730

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/288233/cmap_HighResolution_463276801_463536001_4FGL_J1753.9+2443_daily_bin864.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-03', job_status='DONE', photon_flux_upper_limit='7.65e-08', time_completed='2021-09-18 21:45:42.290377', job_id='288233', GAL2='0.97', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1632026742.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='5.50e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='864' AND source_name='4FGL J1753.9+2443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 21:45:42 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.9+2443_daily_bin864 268.496 24.7297 463276801 463536001 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 :                                   882.35 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             344.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            904 sec.

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

