/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 5 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 = 7263
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1753.9+2443_daily_bin427
RA = 268.496, Dec = 24.7297
tmin = 350006401, tmax = 350265601
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='285421', job_status='RUN', time_executed='2021-09-18 21:20:37.951354', time_epoch_executed='1632025237.95' WHERE source_name='4FGL J1753.9+2443' and cadence='daily' and bin_id='427'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/285421

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/285421/ft1_4FGL_J1753.9+2443_daily_bin427.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/285421/ft2_4FGL_J1753.9+2443_daily_bin427.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/285421/ft1_4FGL_J1753.9+2443_daily_bin427.fits outfile=/scratch/kocevski/285421/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin427.fits ra=268.496 dec=24.7297 rad=12.0 tmin=350006401.0 tmax=350265601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.00
user 3.78
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/285421/ft1_filtered_4FGL_J1753.9+2443_daily_bin427.fits evtable="EVENTS" scfile=/scratch/kocevski/285421/ft2_4FGL_J1753.9+2443_daily_bin427.fits sctable="SC_DATA" expcube=/scratch/kocevski/285421/ltcube_350006401_350265601_4FGL_J1753.9+2443_daily_bin427.fits outfile=/scratch/kocevski/285421/expmap_350006401_350265601_4FGL_J1753.9+2443_daily_bin427.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/285421/ltcube_350006401_350265601_4FGL_J1753.9+2443_daily_bin427.fits
.....................!
real 189.52
user 185.13
sys 4.03

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/285421/ft1_filtered_4FGL_J1753.9+2443_daily_bin427.fits scfile=/scratch/kocevski/285421/ft2_4FGL_J1753.9+2443_daily_bin427.fits outfile=/scratch/kocevski/285421/cmap_350006401_350265601_4FGL_J1753.9+2443_daily_bin427.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=268.496 yref=24.7297 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/285421/ft1_filtered_4FGL_J1753.9+2443_daily_bin427.fits scfile=/scratch/kocevski/285421/ft2_4FGL_J1753.9+2443_daily_bin427.fits outfile=/scratch/kocevski/285421/cmap_HighResolution_350006401_350265601_4FGL_J1753.9+2443_daily_bin427.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10565E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.215       1.0000         .10000E-03   10000.    
     6 'Prefactor '    85.811       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.7842       1.0000         .10000E-03   10000.    
     8 'Prefactor '    101.02       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.3847       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0667       1.0000         .10000E-03   10000.    
    11 'norm      '    29.637       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13384E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    10.993       1.0000         .10000E-03   10000.    
    14 'Prefactor '    65.557       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12513E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13907E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    12.241       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.5504       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .96174       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0043       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=   10649.49     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     2147 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    182.41        .11792E-06** at limit **
   2  norm          .10000E-03    .86170        .58862E-07** at limit **
   3  norm          .10000E-03    23.281        .89512E-08** at limit **
   4  Prefactor     .10000E-03    68.993        .66047E-07** at limit **
   5  Prefactor     22.218        18.626       -.23107E-06   -.81903E-04
   6  Prefactor     85.765        67.493       -.56178E-06   -.12664E-03
   7  Prefactor     9.7936        53.064       -.38988E-06   -.35847E-04
   8  Prefactor     101.04        110.28        .95118E-07   -.34161E-04
   9  Prefactor     4.3859        7.2351        .13730E-06   -.97317E-04
  10  norm          1.0658        1.5782        .67065E-06    .11028E-02
  11  norm          29.628        63.549       -.43800E-06   -.30199E-04
  12  Prefactor     .10000E-03    2.3695       -.10115E-07** at limit **
  13  norm          10.999        9.0786       -.33153E-07   -.26571E-03
  14  Prefactor     65.553        36.895        .78242E-07   -.92307E-05
  15  Prefactor     .10000E-03    2.0929       -.11048E-06** at limit **
  16  Prefactor     .10362E-03    13.422        .19420E-05** at limit **
  17  norm          12.241        13.442       -.48410E-07   -.46958E-05
  18  Prefactor     1.5507        5.2862        .17938E-05   -.75092E-04
  19  Normalizat    .96166        .22835        .27362E-06   -.21850E-03
  20  Prefactor     1.0044        .78444E-01   -.27329E-06   -.35815E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.2185
  Prefactor  = 85.765
  Prefactor  = 9.79359
  Prefactor  = 101.044
  Prefactor  = 4.38591
  norm       = 1.06582
  norm       = 29.6277
  Prefactor  = 0.0001
  norm       = 10.9994
  Prefactor  = 65.5535
  Prefactor  = 0.0001
  Prefactor  = 0.000103622
  norm       = 12.2413
  Prefactor  = 1.55071
  Normalizat = 0.961658
  Prefactor  = 1.00438
 **********
 **   18 **HESSE 
 **********

 FCN=   10649.49     FROM HESSE     STATUS=OK           303 CALLS     2450 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    185.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.5243        .18671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    23.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    69.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.218        18.682        .84983E-04   -1.4765    
   6  Prefactor     85.765        67.501        .43368E-04   -1.3853    
   7  Prefactor     9.7936        51.730        .12811E-03   -1.5082    
   8  Prefactor     101.04        109.10        .40001E-04   -1.3694    
   9  Prefactor     4.3859        7.2181        .19234E-03   -1.5289    
  10  norm          1.0658        1.4986        .18224E-02   -1.5501    
  11  norm          29.628        63.446        .73595E-04   -1.4619    
  12  Prefactor     .10000E-03    6.7429        .30766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          10.999        9.0874        .12084E-03   -1.5045    
  14  Prefactor     65.553        36.932        .49567E-04   -1.4087    
  15  Prefactor     .10000E-03    9.9784        .28644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10362E-03    14.360        .99431E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.241        13.443        .11449E-03   -1.5008    
  18  Prefactor     1.5507        5.0263        .34208E-03   -1.5459    
  19  Normalizat    .96166        .26345        .43103E-03   -.94326    
  20  Prefactor     1.0044        .91021E-01    .15188E-03   -.92584    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63791e-09
Minuit parameter uncertainties:
  1  0.000191464
  2  3.4946e-06
  3  5.13409e-07
  4  5.76845e-06
  5  18.6872
  6  67.5613
  7  45.0775
  8  109.313
  9  7.21949
  10  1.49861
  11  63.5909
  12  2.37829e-05
  13  9.08853
  14  36.9444
  15  0.000126156
  16  0.0144277
  17  13.4459
  18  5.02762
  19  0.26381
  20  0.091035
Done.

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

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  4.386e+00  7.219e+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:  1.004e+00  9.104e-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.617e-01  2.638e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.53
Ra Dec: 268.496 24.730
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/285421/likelihoodResults_350006401_350265601_4FGL_J1753.9+2443_daily_bin427.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): 0
logL (Free Index) = 10649.3481792
delta logL = 0.144435980108

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10649.3452241
delta logL = 0.14739107989

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8083       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7396       1.0000          .0000       10.000    
     3 'Normalizat'    .94101       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0074       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=   10649.35     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      291 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8041        89.607        .60685E-02    .97152E-03
   2  Index         2.7417        3.2735        .13659        .21056E-03
   3  Normalizat    .94091        .63966E-01    .98216E-01    .36755E-04
   4  Prefactor     1.0074        .21620E-01    .43742E-01   -.26095E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.80408
  Index      = 2.74172
  Normalizat = 0.940908
  Prefactor  = 1.00744
 **********
 **   18 **HESSE 
 **********

 FCN=   10649.35     FROM HESSE     STATUS=OK            33 CALLS      324 TOTAL
                     EDM=   .80E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8041        8.7329        .20357E-03   -1.5373    
   2  Index         2.7417        1.4656        .88294E-02   -.46862    
   3  Normalizat    .94091        .25136        .43513E-03   -.95037    
   4  Prefactor     1.0074        .89570E-01    .15165E-03   -.92482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.95873e-08
Minuit parameter uncertainties:
  1  8.73683
  2  1.49332
  3  0.251675
  4  0.0895829
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/285421': 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) = 10649.3452197
delta logL = 0.14739549027

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  2.804e+00  8.737e+00  1.000e-04  1.000e+04 ( 1.000e-13)
322        Index:  2.742e+00  1.493e+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.007e+00  8.958e-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.409e-01  2.517e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.53
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/285421/cmap_HighResolution_350006401_350265601_4FGL_J1753.9+2443_daily_bin427.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.68e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-09-18 21:36:13.594047', job_id='285421', GAL2='1.01', fit_tolerance='1e-08', EG2='0.94', EG='0.96', time_epoch_completed='1632026173.59', return_code2='0', ts='0.53', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.47e-01', ts2='0.83', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='427' AND source_name='4FGL J1753.9+2443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 21:36:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 285421: <4FGL_J1753.9+2443_daily_bin427> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.9+2443_daily_bin427 268.496 24.7297 350006401 350265601 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 :                                   932.12 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             345.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   967 sec.
    Turnaround time :                            951 sec.

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

