/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 54 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 = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1753.9+2443_daily_bin1
RA = 268.496, Dec = 24.7297
tmin = 239587201, tmax = 239846401
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='282452', job_status='RUN', time_executed='2021-09-18 21:11:23.978767', time_epoch_executed='1632024683.98' WHERE source_name='4FGL J1753.9+2443' and cadence='daily' and bin_id='1'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/282452

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/282452/ft1_4FGL_J1753.9+2443_daily_bin1.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/282452/ft2_4FGL_J1753.9+2443_daily_bin1.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/282452/ft1_4FGL_J1753.9+2443_daily_bin1.fits outfile=/scratch/kocevski/282452/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin1.fits ra=268.496 dec=24.7297 rad=12.0 tmin=239587201.0 tmax=239846401.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 1.30
user 1.13
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/282452/ft2_4FGL_J1753.9+2443_daily_bin1.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/282452/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin1.fits evtable="EVENTS" outfile="/scratch/kocevski/282452/ft1_filtered_4FGL_J1753.9+2443_daily_bin1.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/282452/ft1_filtered_4FGL_J1753.9+2443_daily_bin1.fits" evtable="EVENTS" scfile=/scratch/kocevski/282452/ft2_4FGL_J1753.9+2443_daily_bin1.fits sctable="SC_DATA" outfile=/scratch/kocevski/282452/ltcube_239587201_239846401_4FGL_J1753.9+2443_daily_bin1.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/282452/ft2_4FGL_J1753.9+2443_daily_bin1.fits
.....................!
real 13.27
user 12.87
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/282452/ft1_filtered_4FGL_J1753.9+2443_daily_bin1.fits evtable="EVENTS" scfile=/scratch/kocevski/282452/ft2_4FGL_J1753.9+2443_daily_bin1.fits sctable="SC_DATA" expcube=/scratch/kocevski/282452/ltcube_239587201_239846401_4FGL_J1753.9+2443_daily_bin1.fits outfile=/scratch/kocevski/282452/expmap_239587201_239846401_4FGL_J1753.9+2443_daily_bin1.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/282452/ltcube_239587201_239846401_4FGL_J1753.9+2443_daily_bin1.fits
.....................!
real 192.99
user 187.27
sys 5.29

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/282452/ft1_filtered_4FGL_J1753.9+2443_daily_bin1.fits scfile=/scratch/kocevski/282452/ft2_4FGL_J1753.9+2443_daily_bin1.fits outfile=/scratch/kocevski/282452/cmap_239587201_239846401_4FGL_J1753.9+2443_daily_bin1.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.52
user 0.34
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/282452/ft1_filtered_4FGL_J1753.9+2443_daily_bin1.fits scfile=/scratch/kocevski/282452/ft2_4FGL_J1753.9+2443_daily_bin1.fits outfile=/scratch/kocevski/282452/cmap_HighResolution_239587201_239846401_4FGL_J1753.9+2443_daily_bin1.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/282452/ft1_filtered_4FGL_J1753.9+2443_daily_bin1.fits evtable="EVENTS" scfile=/scratch/kocevski/282452/ft2_4FGL_J1753.9+2443_daily_bin1.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/282452/Model_4FGL_J1753.9+2443_daily_bin1.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/282452/ft1_filtered_4FGL_J1753.9+2443_daily_bin1.fits.....................!
real 81.45
user 80.04
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.227       1.0000         .10000E-03   10000.    
     2 'norm      '    10.003       1.0000         .10000E-03   10000.    
     3 'norm      '    29.019       1.0000         .10000E-03   10000.    
     4 'Prefactor '    50.985       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10321E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    39.725       1.0000         .10000E-03   10000.    
     8 'Prefactor '    90.077       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.310       1.0000         .10000E-03   10000.    
    10 'norm      '    1.4864       1.0000         .10000E-03   10000.    
    11 'norm      '    41.746       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.4370       1.0000         .10000E-03   10000.    
    13 'norm      '    7.9386       1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.281       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.2476       1.0000         .10000E-03   10000.    
    17 'norm      '    .90307       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.8459       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .59511       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .87238       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=   9851.924     FROM MIGRAD    STATUS=CONVERGED    408 CALLS     2425 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.223        30.393       -.42256E-06   -.24284E-04
   2  norm          10.003        3.3210        .47150E-08   -.14770E-04
   3  norm          29.019        34.120        .19667E-07   -.28314E-06
   4  Prefactor     50.931        77.882       -.81179E-05   -.16685E-03
   5  Prefactor     .10000E-03    9.4558       -.40248E-06** at limit **
   6  Prefactor     .10000E-03    93.300        .19275E-07** at limit **
   7  Prefactor     39.728        55.862        .10428E-05   -.10551E-04
   8  Prefactor     90.070        115.99       -.11983E-05   -.11385E-04
   9  Prefactor     10.309        6.9141       -.16712E-06   -.13481E-03
  10  norm          1.4865        1.2045       -.31963E-07    .39245E-04
  11  norm          41.749        61.829       -.62913E-06    .67077E-05
  12  Prefactor     4.4371        4.5111        .22057E-05   -.58707E-03
  13  norm          7.9398        8.4062        .28146E-06    .60367E-04
  14  Prefactor     16.277        21.092        .11065E-06   -.67225E-05
  15  Prefactor     .10000E-03    1.3371       -.27378E-07** at limit **
  16  Prefactor     4.2403        26.385       -.17132E-06   -.88673E-05
  17  norm          .87138        12.283        .44302E-06   -.10592E-03
  18  Prefactor     4.8461        5.6976        .35414E-07   -.12457E-04
  19  Normalizat    .59515        .21563        .11578E-05   -.28536E-04
  20  Prefactor     .87238        .71460E-01   -.33468E-06    .50307E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.2233
  norm       = 10.0033
  norm       = 29.0187
  Prefactor  = 50.9311
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.7276
  Prefactor  = 90.0698
  Prefactor  = 10.3094
  norm       = 1.48654
  norm       = 41.7488
  Prefactor  = 4.43711
  norm       = 7.93982
  Prefactor  = 16.2767
  Prefactor  = 0.0001
  Prefactor  = 4.24025
  norm       = 0.871381
  Prefactor  = 4.84611
  Normalizat = 0.595149
  Prefactor  = 0.872379
 **********
 **   18 **HESSE 
 **********

 FCN=   9851.924     FROM HESSE     STATUS=OK           299 CALLS     2724 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.223        30.409        .99426E-04   -1.4902    
   2  norm          10.003        3.3202        .10127E-03   -1.5075    
   3  norm          29.019        34.120        .74373E-04   -1.4630    
   4  Prefactor     50.931        82.792        .56166E-04   -1.4279    
   5  Prefactor     .10000E-03    9.4910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    93.964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     39.728        55.842        .31798E-03   -1.4447    
   8  Prefactor     90.070        115.81        .42338E-04   -1.3807    
   9  Prefactor     10.309        6.9209        .12479E-03   -1.5066    
  10  norm          1.4865        1.2108        .95308E-04   -1.5464    
  11  norm          41.749        61.859        .62043E-04   -1.4415    
  12  Prefactor     4.4371        4.6626        .95586E-03   -1.5287    
  13  norm          7.9398        8.3644        .14231E-03   -1.5144    
  14  Prefactor     16.277        21.117        .99262E-04   -1.4901    
  15  Prefactor     .10000E-03    1.3405        .11195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.2403        25.803        .19550E-03   -1.5296    
  17  norm          .87138        53.913        .67830E-02   -1.5521    
  18  Prefactor     4.8461        5.6887        .18274E-03   -1.5268    
  19  Normalizat    .59515        .22925        .45460E-03   -1.0819    
  20  Prefactor     .87238        .76903E-01    .13574E-03   -.97113    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.37302e-08
Minuit parameter uncertainties:
  1  30.438
  2  3.32031
  3  34.1433
  4  82.9803
  5  2.88058e-05
  6  4.12959e-05
  7  55.9159
  8  116.105
  9  6.9214
  10  1.21081
  11  61.9543
  12  4.66295
  13  8.36566
  14  21.1272
  15  3.40027e-06
  16  20.9331
  17  13.7204
  18  5.68938
  19  0.229618
  20  0.0769125
Done.

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

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  1.031e+01  6.921e+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

GAL_V02
   Spectrum: PowerLaw
692    Prefactor:  8.724e-01  7.691e-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:  5.951e-01  2.296e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.31
Ra Dec: 268.496 24.730
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 4.55e-08 +/- 3.05e-08
Energy Flux (Fixed Index): 2.04e-05 +/- 1.37e-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) = 9851.79232264
delta logL = 0.132138137531

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9851.79210765
delta logL = 0.132353125

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.709       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9399       1.0000          .0000       10.000    
     3 'Normalizat'    .60584       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87092       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=   9851.792     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      282 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.702        189.94        .28091E-02    .25190E-03
   2  Index         1.9390        2.9623        .21657        .73935E-04
   3  Normalizat    .60585        .90510E-01    .10173        .59738E-04
   4  Prefactor     .87095        .25004E-01    .30743E-01   -.50011E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.7019
  Index      = 1.93902
  Normalizat = 0.60585
  Prefactor  = 0.870951
 **********
 **   18 **HESSE 
 **********

 FCN=   9851.792     FROM HESSE     STATUS=OK            33 CALLS      315 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.702        9.5568        .56181E-03   -1.4995    
   2  Index         1.9390        .51594        .73692E-02   -.65884    
   3  Normalizat    .60585        .20790        .45091E-03   -1.0774    
   4  Prefactor     .87095        .74595E-01    .13585E-03   -.97164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62393e-12
Minuit parameter uncertainties:
  1  9.55792
  2  0.51742
  3  0.208168
  4  0.0746033
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/282452': 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) = 9851.79210499
delta logL = 0.132355785894

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  1.270e+01  9.558e+00  1.000e-04  1.000e+04 ( 1.000e-13)
322        Index:  1.939e+00  5.174e-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.710e-01  7.460e-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:  6.058e-01  2.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.57
Ra Dec: 268.496 24.730
Photon Index (Free Index): 1.94 +/- 0.52
Photon Flux (Free Index): 3.40e-08 +/- 3.29e-08
Energy Flux (Free Index): 2.74e-05 +/- 2.73e-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/282452/cmap_HighResolution_239587201_239846401_4FGL_J1753.9+2443_daily_bin1.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.55e-08', energy_flux2='2.74e-05', photon_flux_error='3.05e-08', dlogl='1.32e-01', energy_flux='2.04e-05', photon_flux2='3.40e-08', job_status='DONE', time_completed='2021-09-18 21:25:00.701954', photon_index_error2='0.52', photon_index2='1.94', ts='6.31', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='2.73e-05', EG='0.60', time_epoch_completed='1632025500.7', return_code='0', job_id='282452', GAL2='0.87', EG2='0.61', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='3.29e-08', ts2='6.57', photon_index='2.20' WHERE bin_id='1' AND source_name='4FGL J1753.9+2443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 21:25:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 282452: <4FGL_J1753.9+2443_daily_bin1> in cluster <slac> Done

Job <4FGL_J1753.9+2443_daily_bin1> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 18 21:10:18 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 21:10:19 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:10:19 2021
Terminated at Sat Sep 18 21:25:01 2021
Results reported at Sat Sep 18 21:25:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.9+2443_daily_bin1 268.496 24.7297 239587201 239846401 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 :                                   815.08 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             307.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            883 sec.

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

