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


Performing analysis on: 4FGL_J1753.9+2443_daily_bin458
RA = 268.496, Dec = 24.7297
tmin = 358041601, tmax = 358300801
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='285465', job_status='RUN', time_executed='2021-09-18 21:20:37.364017', time_epoch_executed='1632025237.36' WHERE source_name='4FGL J1753.9+2443' and cadence='daily' and bin_id='458'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/285465

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/285465/ft1_4FGL_J1753.9+2443_daily_bin458.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/285465/ft2_4FGL_J1753.9+2443_daily_bin458.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/285465/ft1_4FGL_J1753.9+2443_daily_bin458.fits outfile=/scratch/kocevski/285465/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin458.fits ra=268.496 dec=24.7297 rad=12.0 tmin=358041601.0 tmax=358300801.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.54
user 3.34
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/285465/ft1_filtered_4FGL_J1753.9+2443_daily_bin458.fits" evtable="EVENTS" scfile=/scratch/kocevski/285465/ft2_4FGL_J1753.9+2443_daily_bin458.fits sctable="SC_DATA" outfile=/scratch/kocevski/285465/ltcube_358041601_358300801_4FGL_J1753.9+2443_daily_bin458.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/285465/ft2_4FGL_J1753.9+2443_daily_bin458.fits
.....................!
real 11.92
user 11.56
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/285465/ft1_filtered_4FGL_J1753.9+2443_daily_bin458.fits evtable="EVENTS" scfile=/scratch/kocevski/285465/ft2_4FGL_J1753.9+2443_daily_bin458.fits sctable="SC_DATA" expcube=/scratch/kocevski/285465/ltcube_358041601_358300801_4FGL_J1753.9+2443_daily_bin458.fits outfile=/scratch/kocevski/285465/expmap_358041601_358300801_4FGL_J1753.9+2443_daily_bin458.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/285465/ltcube_358041601_358300801_4FGL_J1753.9+2443_daily_bin458.fits
.....................!
real 189.73
user 184.97
sys 4.44

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/285465/ft1_filtered_4FGL_J1753.9+2443_daily_bin458.fits scfile=/scratch/kocevski/285465/ft2_4FGL_J1753.9+2443_daily_bin458.fits outfile=/scratch/kocevski/285465/cmap_358041601_358300801_4FGL_J1753.9+2443_daily_bin458.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/285465/ft1_filtered_4FGL_J1753.9+2443_daily_bin458.fits scfile=/scratch/kocevski/285465/ft2_4FGL_J1753.9+2443_daily_bin458.fits outfile=/scratch/kocevski/285465/cmap_HighResolution_358041601_358300801_4FGL_J1753.9+2443_daily_bin458.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    95.881       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.201       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    24.498       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .28510       1.0000         .10000E-03   10000.    
    13 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    61.393       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.721       1.0000         .10000E-03   10000.    
    17 'norm      '    15.784       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.8341       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .99651       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .98736       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=   9558.140     FROM MIGRAD    STATUS=CONVERGED    425 CALLS     2052 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.685        .90712E-02** at limit **
   2  norm          .10000E-03    .68808        .90712E-02** at limit **
   3  norm          .10000E-03    50.721        .90712E-02** at limit **
   4  Prefactor     95.881        80.207        .10262E-02   -.46729E-04
   5  Prefactor     .10000E-03    4.2718        .90712E-02** at limit **
   6  Prefactor     .10001E-03    76.866        .90712E-02** at limit **
   7  Prefactor     16.188        34.406        .24876E-02   -.84960E-03
   8  Prefactor     .10001E-03    321.74        .90712E-02** at limit **
   9  Prefactor     .10000E-03    7.7718        .90712E-02** at limit **
  10  norm          .10000E-03    .85778        .90712E-02** at limit **
  11  norm          24.499        46.354        .20233E-02   -.25948E-04
  12  Prefactor     .28058        3.8937        .61728E-01    .77908E-03
  13  norm          .10000E-03    6.1799        .90712E-02** at limit **
  14  Prefactor     61.393        47.338        .12802E-02    .14174E-03
  15  Prefactor     .10000E-03    2.3596        .90712E-02** at limit **
  16  Prefactor     15.719        22.434        .25254E-02   -.16373E-03
  17  norm          15.784        17.628        .25203E-02   -.35599E-04
  18  Prefactor     7.8342        9.4285        .35815E-02   -.29887E-03
  19  Normalizat    .99648        .23585        .93144E-01    .37554E-04
  20  Prefactor     .98737        .81190E-01    .33917E-01   -.11603E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 95.8808
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 16.1878
  Prefactor  = 0.000100013
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 24.499
  Prefactor  = 0.280584
  norm       = 0.0001
  Prefactor  = 61.3926
  Prefactor  = 0.0001
  Prefactor  = 15.7187
  norm       = 15.7839
  Prefactor  = 7.83423
  Normalizat = 0.996479
  Prefactor  = 0.987374
 **********
 **   18 **HESSE 
 **********

 FCN=   9558.140     FROM HESSE     STATUS=OK           283 CALLS     2335 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .68926        .79196E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    50.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     95.881        80.435        .41048E-04   -1.3746    
   5  Prefactor     .10000E-03    4.2755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    77.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.188        34.502        .99505E-04   -1.4903    
   8  Prefactor     .10001E-03    323.42        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.8789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .89380        .17676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          24.499        46.331        .80932E-04   -1.4718    
  12  Prefactor     .28058        23.603        .36811E-02   -1.5602    
  13  norm          .10000E-03    6.2352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     61.393        47.468        .51210E-04   -1.4139    
  15  Prefactor     .10000E-03    2.3855        .14646E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.719        22.419        .10101E-03   -1.4915    
  17  norm          15.784        17.628        .10081E-03   -1.4913    
  18  Prefactor     7.8342        9.4211        .14326E-03   -1.5148    
  19  Normalizat    .99648        .26851        .41253E-03   -.93148    
  20  Prefactor     .98737        .92812E-01    .14987E-03   -.93152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.40052e-09
Minuit parameter uncertainties:
  1  1.18538e-05
  2  2.28562e-06
  3  0.000200504
  4  80.5271
  5  1.38486e-05
  6  0.00149775
  7  34.545
  8  0.00406328
  9  1.41633e-06
  10  9.68472e-06
  11  46.399
  12  5.14807
  13  2.2206e-05
  14  47.4977
  15  1.21813e-05
  16  22.4314
  17  17.634
  18  9.42285
  19  0.268873
  20  0.0928273
Done.

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

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  1.000e-04  1.416e-06  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.874e-01  9.283e-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:  9.965e-01  2.689e-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: 8.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/285465/likelihoodResults_358041601_358300801_4FGL_J1753.9+2443_daily_bin458.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) = 9558.14073844
delta logL = -0.000605063458352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9555.95976503
delta logL = 2.18036834632

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72135E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    5.6187       1.0000          .0000       10.000    
     3 'Normalizat'    .83088       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0186       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=   9555.960     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      366 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72187E-02    .44957E-01    .93254E-03    .14625E-01
   2  Index         5.6185        1.5337        .85342E-01    .32345E-03
   3  Normalizat    .83087        .59912E-01    .10086        .43691E-04
   4  Prefactor     1.0187        .21692E-01    .42278E-01   -.65858E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00721868
  Index      = 5.61853
  Normalizat = 0.830869
  Prefactor  = 1.01866
 **********
 **   18 **HESSE 
 **********

 FCN=   9555.960     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      399 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72187E-02    .10279        .43831E-05   -1.5691    
   2  Index         5.6185        2.6796        .32470E-02    .12402    
   3  Normalizat    .83087        .22257        .44693E-03   -.98934    
   4  Prefactor     1.0187        .79242E-01    .14763E-03   -.92110    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.51486e-07
Minuit parameter uncertainties:
  1  0.0541005
  2  2.83064
  3  0.222814
  4  0.0792512
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/285465': 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) = 9555.95976485
delta logL = 2.18036852521

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  7.219e-03  5.410e-02  1.000e-04  1.000e+04 ( 1.000e-13)
322        Index:  5.619e+00  2.831e+00  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:  1.019e+00  7.925e-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:  8.309e-01  2.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.75
Ra Dec: 268.496 24.730
Photon Index (Free Index): 5.62 +/- 2.83
Photon Flux (Free Index): 1.42e-07 +/- 7.58e-08
Energy Flux (Free Index): 1.81e-05 +/- 1.02e-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/285465/cmap_HighResolution_358041601_358300801_4FGL_J1753.9+2443_daily_bin458.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.29e-03', comment='SUCCESS', energy_flux2='1.81e-05', dlogl='2.18e+00', photon_flux2='1.42e-07', job_status='DONE', time_completed='2021-09-18 21:35:22.132096', photon_index_error2='2.83', photon_index2='5.62', ts='-0.00', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='8.25e-08', energy_flux_error2='1.02e-05', EG='1.00', time_epoch_completed='1632026122.13', return_code='0', job_id='285465', GAL2='1.02', EG2='0.83', return_code2='102', photon_flux_error2='7.58e-08', ts2='4.75', photon_index='2.20' WHERE bin_id='458' AND source_name='4FGL J1753.9+2443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 21:35:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 285465: <4FGL_J1753.9+2443_daily_bin458> in cluster <slac> Done

Job <4FGL_J1753.9+2443_daily_bin458> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 18 21:20:25 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 21:20:26 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:20:26 2021
Terminated at Sat Sep 18 21:35:22 2021
Results reported at Sat Sep 18 21:35:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.9+2443_daily_bin458 268.496 24.7297 358041601 358300801 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 :                                   880.33 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            897 sec.

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

