aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 8 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1753.7+2847_daily_bin1710
RA = 268.433, Dec = 28.7967
tmin = 682560001, tmax = 682819201
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='186123', job_status='RUN', time_executed='2022-09-16 20:34:02.162201', time_epoch_executed='1663385642.16' WHERE source_name='4FGL J1753.7+2847' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/186123

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/186123/ft1_4FGL_J1753.7+2847_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/186123/ft2_4FGL_J1753.7+2847_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/186123/ft1_4FGL_J1753.7+2847_daily_bin1710.fits outfile=/scratch/kocevski/186123/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin1710.fits ra=268.433 dec=28.7967 rad=12.0 tmin=682560001.0 tmax=682819201.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.67
user 3.43
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/186123/ft2_4FGL_J1753.7+2847_daily_bin1710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/186123/ft2_4FGL_J1753.7+2847_daily_bin1710.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/186123/ft1_filteredMKT_4FGL_J1753.7+2847_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/186123/ft1_filtered_4FGL_J1753.7+2847_daily_bin1710.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.52
user 0.37
sys 0.15

Number of photons that the gtmktime cut: 853

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/186123/ft1_filtered_4FGL_J1753.7+2847_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/186123/ft2_4FGL_J1753.7+2847_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/186123/ltcube_682560001_682819201_4FGL_J1753.7+2847_daily_bin1710.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/186123/ft2_4FGL_J1753.7+2847_daily_bin1710.fits
.....................!
real 15.49
user 15.13
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/186123/ft1_filtered_4FGL_J1753.7+2847_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/186123/ft2_4FGL_J1753.7+2847_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/186123/ltcube_682560001_682819201_4FGL_J1753.7+2847_daily_bin1710.fits outfile=/scratch/kocevski/186123/expmap_682560001_682819201_4FGL_J1753.7+2847_daily_bin1710.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/186123/ltcube_682560001_682819201_4FGL_J1753.7+2847_daily_bin1710.fits
.....................!
real 192.09
user 186.68
sys 4.91

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 210 point sources and 0 extended sources

Setting source of interest to:
4FGL J1753.7+2847 @ 268.433 28.7967

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/186123/ft1_filtered_4FGL_J1753.7+2847_daily_bin1710.fits scfile=/scratch/kocevski/186123/ft2_4FGL_J1753.7+2847_daily_bin1710.fits outfile=/scratch/kocevski/186123/cmap_682560001_682819201_4FGL_J1753.7+2847_daily_bin1710.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.433 yref=28.7967 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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/186123/ft1_filtered_4FGL_J1753.7+2847_daily_bin1710.fits scfile=/scratch/kocevski/186123/ft2_4FGL_J1753.7+2847_daily_bin1710.fits outfile=/scratch/kocevski/186123/cmap_HighResolution_682560001_682819201_4FGL_J1753.7+2847_daily_bin1710.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.433 yref=28.7967 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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/186123/ft1_filtered_4FGL_J1753.7+2847_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/186123/ft2_4FGL_J1753.7+2847_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/186123/Model_4FGL_J1753.7+2847_daily_bin1710.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/186123/ft1_filtered_4FGL_J1753.7+2847_daily_bin1710.fits.....................!
real 76.86
user 75.42
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/186123/ft1_filtered_4FGL_J1753.7+2847_daily_bin1710.fits', '/scratch/kocevski/186123/ft2_4FGL_J1753.7+2847_daily_bin1710.fits', expMap='/scratch/kocevski/186123/expmap_682560001_682819201_4FGL_J1753.7+2847_daily_bin1710.fits', expCube='/scratch/kocevski/186123/ltcube_682560001_682819201_4FGL_J1753.7+2847_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/186123/Model_4FGL_J1753.7+2847_daily_bin1710.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1753.7+2847'

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  6.812e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
342        Index:  2.396e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
343        Scale:  1.625e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/186123/ft1_filtered_4FGL_J1753.7+2847_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/186123/ft2_4FGL_J1753.7+2847_daily_bin1710.fits
Exposure map: /scratch/kocevski/186123/expmap_682560001_682819201_4FGL_J1753.7+2847_daily_bin1710.fits
Exposure cube: /scratch/kocevski/186123/ltcube_682560001_682819201_4FGL_J1753.7+2847_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/186123/Model_4FGL_J1753.7+2847_daily_bin1710.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) = 9109.86604751

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13739E-01   1.0000          .0000       .10000E+07
     2 'norm      '    6.3332       1.0000          .0000       .10000E+07
     3 'norm      '    .66704E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    60.911       1.0000          .0000       .10000E+07
     5 'Prefactor '    .52715       1.0000          .0000       .10000E+07
     6 'Prefactor '    .69448E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .73940E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .37556E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    11.119       1.0000          .0000       .10000E+07
    10 'norm      '    .13528E-06   1.0000          .0000       .10000E+07
    11 'norm      '    42.379       1.0000          .0000       .10000E+07
    12 'Prefactor '    .49593E-05   1.0000          .0000       .10000E+07
    13 'norm      '    5.3174       1.0000          .0000       .10000E+07
    14 'Prefactor '    .11017E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    21.069       1.0000          .0000       .10000E+07
    16 'Prefactor '    .27978E-07   1.0000          .0000       .10000E+07
    17 'norm      '    .29330E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1900       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .85270       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9109.830     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1367 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18874E-08    12.248       -.22949E-05** at limit **
   2  norm          6.4181        5.2252        .13739E-07    .32709E-02
   3  norm          .44076E-07    82.817        .85884E-06** at limit **
   4  Prefactor     61.010        3.3261        .81131E-06   -.13339    
   5  Prefactor     .82157E-08    76.444        .12710E-04** at limit **
   6  Prefactor     .15239E-01    1.6956       -.26637E-05** at limit **
   7  Prefactor     .36304E-07    15.218       -.11015E-04** at limit **
   8  Prefactor      .0000        20.297       -.11839E-06** at limit **
   9  Prefactor     11.140        9.1663       -.93778E-07   -.30035E-03
  10  norm          .11102E-09    .66007       -.21563E-06** at limit **
  11  norm          42.539        2.2026        .20670E-06   -.21502E-01
  12  Prefactor      .0000        1.2593       -.58880E-07** at limit **
  13  norm          5.2782        5.1179       -.68002E-07    .17314E-02
  14  Prefactor      .0000        1.8247       -.33117E-07** at limit **
  15  Prefactor     21.225        4.4597        .14914E-05   -.22829E-01
  16  Prefactor      .0000        2.1113       -.10862E-06** at limit **
  17  norm          .30809E-07    14.146        .11187E-04** at limit **
  18  Normalizat    1.1895        .22568       -.64158E-05    .64562E-03
  19  Prefactor     .85276        .92764E-01    .72891E-05    .15703E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.88738e-09
  norm       = 6.41808
  norm       = 4.40759e-08
  Prefactor  = 61.0095
  Prefactor  = 8.21565e-09
  Prefactor  = 0.0152387
  Prefactor  = 3.63043e-08
  Prefactor  = 0
  Prefactor  = 11.1397
  norm       = 1.11022e-10
  norm       = 42.5393
  Prefactor  = 0
  norm       = 5.27821
  Prefactor  = 0
  Prefactor  = 21.2253
  Prefactor  = 0
  norm       = 3.08087e-08
  Normalizat = 1.18953
  Prefactor  = 0.852757
 **********
 **   18 **HESSE 
 **********

 FCN=   9109.830     FROM HESSE     STATUS=OK           304 CALLS     1671 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18874E-08    12.263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.4181        5.8182        .39862E-03   -1.5657    
   3  norm          .44076E-07    82.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     61.010        88.657        .12814E-03   -1.5552    
   5  Prefactor     .82157E-08    77.017        .76024E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .15239E-01    8.8466        .96273E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .36304E-07    15.575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        20.297        .16076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.140        9.1616        .30020E-03   -1.5641    
  10  norm          .11102E-09    .65894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          42.539        43.640        .15363E-03   -1.5578    
  12  Prefactor      .0000        1.2593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.2782        5.1660        .43561E-03   -1.5662    
  14  Prefactor      .0000        1.8242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.225        20.825        .21793E-03   -1.5616    
  16  Prefactor      .0000        2.1115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .30809E-07    14.356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1895        .19897        .77084E-01   -.86927    
  19  Prefactor     .85276        .79578E-01    .44399E-01   -.97812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36446e-06
Minuit parameter uncertainties:
  1  0.000302794
  2  5.81819
  3  0.00382421
  4  88.6587
  5  0.00158891
  6  0.734332
  7  0.00150428
  8  3.31285e-05
  9  9.16159
  10  1.62649e-05
  11  43.6403
  12  6.77714e-06
  13  5.16597
  14  5.60334e-06
  15  20.8248
  16  1.11946e-05
  17  0.00132988
  18  0.199098
  19  0.0795886
Done.

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

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  0.000e+00  3.313e-05  0.000e+00  1.000e+06 ( 1.000e-14)
342        Index:  2.396e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
343        Scale:  1.625e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  8.528e-01  7.959e-02  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  1.190e+00  1.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 268.433 28.797
Photon Flux Upper Limit: 5.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/186123/likelihoodResults_682560001_682819201_4FGL_J1753.7+2847_daily_bin1710.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) = 9109.8530661
delta logL = -0.0235010591368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9109.82956506
delta logL = -1.9990693545e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43510E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .89471       1.0000          .0000       10.000    
     3 'Normalizat'    1.1895       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85275       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9109.830     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      193 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-09    31.549       -.13443E-05** at limit **
   2  Index         1.8709        5.4297        .34427E-04    .13313E-10
   3  Normalizat    1.1895        .22361        .16146E-05   -.64156E-05
   4  Prefactor     .85276        .92368E-01   -.86301E-06   -.58475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-10
  Index      = 1.87088
  Normalizat = 1.18953
  Prefactor  = 0.852756
 **********
 **   18 **HESSE 
 **********

 FCN=   9109.830     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      226 TOTAL
                     EDM=   .39E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-09    .59320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8709        7.7532        .44938       -.67619    
   3  Normalizat    1.1895        .72309E-03    .77084E-01   -.86927    
   4  Prefactor     .85276        .29787E-03    .44400E-01   -.97812    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.92843e-13
Minuit parameter uncertainties:
  1  3.6883e-05
  2  16265.6
  3  0.000723087
  4  0.00029787
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/186123': 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) = 9109.82956504
delta logL = 3.63797880709e-10

Extracting fit parameters...

4FGL J1753.7+2847
   Spectrum: PowerLaw
341    Prefactor:  5.551e-10  3.688e-05  0.000e+00  1.000e+06 ( 1.000e-14)
342        Index:  1.871e+00  1.627e+04  0.000e+00  1.000e+01 (-1.000e+00)
343        Scale:  1.625e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
697    Prefactor:  8.528e-01  2.979e-04  0.000e+00  1.000e+01 ( 1.000e+00)
698        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
699        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
696   Normalization:  1.190e+00  7.231e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 268.433 28.797

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/186123/cmap_HighResolution_682560001_682819201_4FGL_J1753.7+2847_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.51e-03', job_status='DONE', photon_flux_upper_limit='5.84e-08', time_completed='2022-09-16 20:46:24.922059', job_id='186123', GAL2='0.85', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1663386384.92', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='3.64e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1710' AND source_name='4FGL J1753.7+2847' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 20:46:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 186123: <4FGL_J1753.7+2847_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1753.7+2847_daily_bin1710> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 20:30:19 2022
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 20:33:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 20:33:43 2022
Terminated at Fri Sep 16 20:46:25 2022
Results reported at Fri Sep 16 20:46:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.7+2847_daily_bin1710 268.433 28.7967 682560001 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1753.7+2847 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   744.32 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             346.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            966 sec.

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

