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


Performing analysis on: 4FGL_J1753.9+2443_daily_bin1117
RA = 268.496, Dec = 24.7297
tmin = 528854401, tmax = 529113601
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='289723', job_status='RUN', time_executed='2021-09-18 21:35:56.751378', time_epoch_executed='1632026156.75' WHERE source_name='4FGL J1753.9+2443' and cadence='daily' and bin_id='1117'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/289723

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/289723/ft1_4FGL_J1753.9+2443_daily_bin1117.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/289723/ft2_4FGL_J1753.9+2443_daily_bin1117.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/289723/ft1_4FGL_J1753.9+2443_daily_bin1117.fits outfile=/scratch/kocevski/289723/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin1117.fits ra=268.496 dec=24.7297 rad=12.0 tmin=528854401.0 tmax=529113601.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.44
user 3.21
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/289723/ft1_filtered_4FGL_J1753.9+2443_daily_bin1117.fits evtable="EVENTS" scfile=/scratch/kocevski/289723/ft2_4FGL_J1753.9+2443_daily_bin1117.fits sctable="SC_DATA" expcube=/scratch/kocevski/289723/ltcube_528854401_529113601_4FGL_J1753.9+2443_daily_bin1117.fits outfile=/scratch/kocevski/289723/expmap_528854401_529113601_4FGL_J1753.9+2443_daily_bin1117.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/289723/ltcube_528854401_529113601_4FGL_J1753.9+2443_daily_bin1117.fits
.....................!
real 191.75
user 186.15
sys 5.17

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/289723/ft1_filtered_4FGL_J1753.9+2443_daily_bin1117.fits scfile=/scratch/kocevski/289723/ft2_4FGL_J1753.9+2443_daily_bin1117.fits outfile=/scratch/kocevski/289723/cmap_528854401_529113601_4FGL_J1753.9+2443_daily_bin1117.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/289723/ft1_filtered_4FGL_J1753.9+2443_daily_bin1117.fits scfile=/scratch/kocevski/289723/ft2_4FGL_J1753.9+2443_daily_bin1117.fits outfile=/scratch/kocevski/289723/cmap_HighResolution_528854401_529113601_4FGL_J1753.9+2443_daily_bin1117.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19114E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.9293       1.0000         .10000E-03   10000.    
     3 'norm      '    15.945       1.0000         .10000E-03   10000.    
     4 'Prefactor '    98.707       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .52659       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10310E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    38.445       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.4967       1.0000         .10000E-03   10000.    
    11 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.5520       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.1879       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10355E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10143E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.6695       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2361       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .94820       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=   10429.14     FROM MIGRAD    STATUS=CONVERGED    450 CALLS     2082 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    104.75        .44835E-05** at limit **
   2  norm          2.9292        2.6078       -.17422E-06   -.45567E-03
   3  norm          15.942        36.496       -.13038E-05   -.20404E-05
   4  Prefactor     98.718        80.296        .73774E-05   -.13703E-06
   5  Prefactor     .47486        6.2420        .16004E-06   -.70414E-03
   6  Prefactor     .10000E-03    9.2007       -.15981E-07** at limit **
   7  Prefactor     .10000E-03    25.987       -.12634E-05** at limit **
   8  Prefactor     38.432        65.248       -.12733E-04    .56448E-05
   9  Prefactor     .10000E-03    1.7478       -.48776E-07** at limit **
  10  norm          3.4973        1.9886        .54601E-08   -.54121E-04
  11  norm          .10000E-03    46.451       -.12943E-05** at limit **
  12  Prefactor     .10000E-03    3.3331       -.48532E-07** at limit **
  13  norm          7.5518        6.6683       -.15534E-05   -.53184E-04
  14  Prefactor     1.0407        36.379       -.57278E-05    .97961E-04
  15  Prefactor     .10000E-03    2.9496        .27059E-06** at limit **
  16  Prefactor     .10000E-03    5.4738        .60729E-07** at limit **
  17  norm          .10000E-03    24.501       -.19176E-06** at limit **
  18  Prefactor     4.6691        7.5233       -.74177E-05   -.23963E-03
  19  Normalizat    1.2358        .21306        .78950E-06    .16929E-03
  20  Prefactor     .94829        .75506E-01    .59693E-06    .47849E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.92923
  norm       = 15.9423
  Prefactor  = 98.7177
  Prefactor  = 0.474861
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 38.4321
  Prefactor  = 0.0001
  norm       = 3.49728
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.55185
  Prefactor  = 1.04074
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.66913
  Normalizat = 1.23581
  Prefactor  = 0.948292
 **********
 **   18 **HESSE 
 **********

 FCN=   10429.14     FROM HESSE     STATUS=OK           299 CALLS     2381 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    105.13        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.9292        2.6051        .15142E-03   -1.5366    
   3  norm          15.942        36.500        .10030E-03   -1.4909    
   4  Prefactor     98.718        80.487        .40462E-04   -1.3718    
   5  Prefactor     .47486        44.543        .48883E-02   -1.5570    
   6  Prefactor     .10000E-03    9.2019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    25.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     38.432        65.178        .64642E-04   -1.4467    
   9  Prefactor     .10000E-03    1.7503        .13185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.4973        1.9886        .10509E-03   -1.5334    
  11  norm          .10000E-03    46.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.3634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.5518        6.6648        .14593E-03   -1.5158    
  14  Prefactor     1.0407        34.018        .15812       -1.5504    
  15  Prefactor     .10000E-03    11.226        .33574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.4806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    24.591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.6691        7.6327        .18624E-03   -1.5276    
  19  Normalizat    1.2358        .24655        .38411E-03   -.85503    
  20  Prefactor     .94829        .88647E-01    .15571E-03   -.94473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.42289e-09
Minuit parameter uncertainties:
  1  0.00014776
  2  2.60517
  3  36.5515
  4  80.5757
  5  9.20432
  6  7.37924e-06
  7  0.000262844
  8  65.2996
  9  4.11564e-07
  10  1.98862
  11  3.99013e-05
  12  2.57721e-06
  13  6.66549
  14  11.9071
  15  0.000152847
  16  9.97203e-06
  17  9.81276e-05
  18  7.63426
  19  0.246783
  20  0.0886609
Done.

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

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  1.000e-04  4.116e-07  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.483e-01  8.866e-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.236e+00  2.468e-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: 4.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/289723/likelihoodResults_528854401_529113601_4FGL_J1753.9+2443_daily_bin1117.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) = 10429.1403563
delta logL = -0.00271175073976

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10429.1376446
delta logL = -8.07904143585e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10213E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1784       1.0000          .0000       10.000    
     3 'Normalizat'    1.2359       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94828       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=   10429.14     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      239 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    1.8199        .13439E-02** at limit **
   2  Index         2.1564        6.0767        .50000        .97458E-04
   3  Normalizat    1.2358        .23635        .38411E-03    .33741E-05
   4  Prefactor     .94829        .85911E-01    .15571E-03    .55491E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100018
  Index      = 2.15636
  Normalizat = 1.23581
  Prefactor  = 0.948292
 **********
 **   18 **HESSE 
 **********

 FCN=   10429.14     FROM HESSE     STATUS=OK            29 CALLS      268 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    1.8225        .26879E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1564        6.0766        .50000       -.60496    
   3  Normalizat    1.2358        .23651        .15365E-04   -.85503    
   4  Prefactor     .94829        .85968E-01    .62282E-05   -.94473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01622e-08
Minuit parameter uncertainties:
  1  0.000357212
  2  4.11821
  3  0.236714
  4  0.0859807
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/289723': 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) = 10429.1376435
delta logL = 1.07157939055e-06

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  1.000e-04  3.572e-04  1.000e-04  1.000e+04 ( 1.000e-13)
322        Index:  2.156e+00  4.118e+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:  9.483e-01  8.598e-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.236e+00  2.367e-01  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/289723/cmap_HighResolution_528854401_529113601_4FGL_J1753.9+2443_daily_bin1117.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.18e-03', job_status='DONE', photon_flux_upper_limit='4.18e-08', time_completed='2021-09-18 21:51:35.870251', job_id='289723', GAL2='0.95', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1632027095.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.07e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='1117' AND source_name='4FGL J1753.9+2443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 21:51:35 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.9+2443_daily_bin1117 268.496 24.7297 528854401 529113601 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 :                                   919.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             378.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            956 sec.

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

