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


Performing analysis on: 4FGL_J1753.9+2443_daily_bin813
RA = 268.496, Dec = 24.7297
tmin = 450057601, tmax = 450316801
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='288157', job_status='RUN', time_executed='2021-09-18 21:30:43.356025', time_epoch_executed='1632025843.36' WHERE source_name='4FGL J1753.9+2443' and cadence='daily' and bin_id='813'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/288157

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/288157/ft1_4FGL_J1753.9+2443_daily_bin813.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/288157/ft2_4FGL_J1753.9+2443_daily_bin813.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/288157/ft1_4FGL_J1753.9+2443_daily_bin813.fits outfile=/scratch/kocevski/288157/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin813.fits ra=268.496 dec=24.7297 rad=12.0 tmin=450057601.0 tmax=450316801.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.53
user 3.31
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/288157/ft1_filtered_4FGL_J1753.9+2443_daily_bin813.fits evtable="EVENTS" scfile=/scratch/kocevski/288157/ft2_4FGL_J1753.9+2443_daily_bin813.fits sctable="SC_DATA" expcube=/scratch/kocevski/288157/ltcube_450057601_450316801_4FGL_J1753.9+2443_daily_bin813.fits outfile=/scratch/kocevski/288157/expmap_450057601_450316801_4FGL_J1753.9+2443_daily_bin813.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/288157/ltcube_450057601_450316801_4FGL_J1753.9+2443_daily_bin813.fits
.....................!
real 191.43
user 185.56
sys 5.52

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/288157/ft1_filtered_4FGL_J1753.9+2443_daily_bin813.fits scfile=/scratch/kocevski/288157/ft2_4FGL_J1753.9+2443_daily_bin813.fits outfile=/scratch/kocevski/288157/cmap_450057601_450316801_4FGL_J1753.9+2443_daily_bin813.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/288157/ft1_filtered_4FGL_J1753.9+2443_daily_bin813.fits scfile=/scratch/kocevski/288157/ft2_4FGL_J1753.9+2443_daily_bin813.fits outfile=/scratch/kocevski/288157/cmap_HighResolution_450057601_450316801_4FGL_J1753.9+2443_daily_bin813.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.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .31226E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10445E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.196       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .20775E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.5525       1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .80212       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .38392E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.8530       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2600       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .95141       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=   10746.07     FROM MIGRAD    STATUS=CONVERGED    750 CALLS     2096 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.593        .18142E-02** at limit **
   2  norm          .10000E-03    2.4887        .22223E-02** at limit **
   3  norm          .10000E-03    428.57        .39569E-03** at limit **
   4  Prefactor     .10000E-03    96.712        .18142E-02** at limit **
   5  Prefactor     28.196        16.035        .75448E-04   -.12055E-05
   6  Prefactor     .10110E-03    30.398        .17541    ** at limit **
   7  Prefactor     .10000E-03    11.843        .18142E-02** at limit **
   8  Prefactor     .10000E-03    30.152        .18142E-02** at limit **
   9  Prefactor     .10000E-03    3.2856        .18142E-02** at limit **
  10  norm          1.5525        1.8891        .15307E-03   -.36095E-04
  11  norm          .10000E-03    29.881        .18142E-02** at limit **
  12  Prefactor     .80226        3.3024        .37094E-03   -.53205E-04
  13  norm          .10000E-03    2.2026        .15018E-02** at limit **
  14  Prefactor     .10000E-03    26.655        .18142E-02** at limit **
  15  Prefactor     .10010E-03    18.994        .27755E-02** at limit **
  16  Prefactor     .10000E-03    14.442        .18142E-02** at limit **
  17  norm          .10000E-03    12.280        .18142E-02** at limit **
  18  Prefactor     6.8535        8.6534        .15326E-03    .47622E-04
  19  Normalizat    1.2599        .24217        .38365E-03    .14816E-04
  20  Prefactor     .95141        .85029E-01    .15524E-03   -.10985E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 28.1963
  Prefactor  = 0.000101096
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.55248
  norm       = 0.0001
  Prefactor  = 0.80226
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100103
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.85349
  Normalizat = 1.25989
  Prefactor  = 0.951408
 **********
 **   18 **HESSE 
 **********

 FCN=   10746.07     FROM HESSE     STATUS=OK           281 CALLS     2377 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.594        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.5003        .44445E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    428.59        .79138E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    96.718        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     28.196        16.034        .30179E-05   -1.4645    
   6  Prefactor     .10110E-03    31.043        .17253       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.843        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    30.153        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.2863        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5525        1.8890        .61230E-05   -1.5459    
  11  norm          .10000E-03    29.882        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .80226        3.3017        .14838E-04   -1.5529    
  13  norm          .10000E-03    2.2027        .30037E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    26.658        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10010E-03    19.332        .55510E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.446        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    12.280        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.8535        8.6527        .61305E-05   -1.5184    
  19  Normalizat    1.2599        .24227        .15346E-04   -.84772    
  20  Prefactor     .95141        .85079E-01    .62094E-05   -.94367    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.46165e-09
Minuit parameter uncertainties:
  1  0.000175074
  2  7.49439e-06
  3  0.00265728
  4  3.9923e-05
  5  16.0362
  6  0.0116741
  7  1.01075e-05
  8  5.92638e-05
  9  3.52569e-06
  10  1.88905
  11  1.21273e-05
  12  3.25516
  13  1.02772e-06
  14  8.82939e-05
  15  0.00282676
  16  1.73064e-05
  17  3.17296e-06
  18  8.65425
  19  0.242487
  20  0.0850912
Done.

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

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  1.000e-04  3.526e-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.514e-01  8.509e-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.260e+00  2.425e-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: 5.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/288157/likelihoodResults_450057601_450316801_4FGL_J1753.9+2443_daily_bin813.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) = 10746.0730903
delta logL = -0.00145046143916

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10746.0716399
delta logL = -8.98235157365e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1895       1.0000          .0000       10.000    
     3 'Normalizat'    1.2598       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95143       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=   10746.07     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      241 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10058E-03    37.472        .18142E-02** at limit **
   2  Index         2.1463        8.9237        .50000        .21852E-04
   3  Normalizat    1.2599        .18890E-01    .38365E-03    .40893E-05
   4  Prefactor     .95141        .67977E-02    .15524E-03    .22849E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100575
  Index      = 2.14626
  Normalizat = 1.25988
  Prefactor  = 0.951408
 **********
 **   18 **HESSE 
 **********

 FCN=   10746.07     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 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     .10058E-03    182.98        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1463        8.8529        .50000       -.60742    
   3  Normalizat    1.2599        .44120E-01    .15346E-04   -.84772    
   4  Prefactor     .95141        .15865E-01    .62094E-05   -.94367    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.34114e-08
Minuit parameter uncertainties:
  1  0.0205784
  2  609.17
  3  0.0441211
  4  0.015865
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/288157': 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) = 10746.0716396
delta logL = 2.28863427765e-07

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  1.006e-04  2.058e-02  1.000e-04  1.000e+04 ( 1.000e-13)
322        Index:  2.146e+00  6.092e+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.514e-01  1.586e-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.260e+00  4.412e-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/288157/cmap_HighResolution_450057601_450316801_4FGL_J1753.9+2443_daily_bin813.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.55e-03', job_status='DONE', photon_flux_upper_limit='5.97e-08', time_completed='2021-09-18 21:46:17.736670', job_id='288157', GAL2='0.95', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1632026777.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.29e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='813' AND source_name='4FGL J1753.9+2443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 21:46:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 288157: <4FGL_J1753.9+2443_daily_bin813> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.9+2443_daily_bin813 268.496 24.7297 450057601 450316801 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 :                                   931.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             345.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   943 sec.
    Turnaround time :                            944 sec.

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

