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


Performing analysis on: 4FGL_J0748.6+2400_daily_bin1709
RA = 117.164, Dec = 24.0166
tmin = 682300801, tmax = 682560001
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='57154', job_status='RUN', time_executed='2022-09-16 13:18:52.022634', time_epoch_executed='1663359532.02' WHERE source_name='4FGL J0748.6+2400' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/57154

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/57154/ft1_4FGL_J0748.6+2400_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/57154/ft2_4FGL_J0748.6+2400_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/57154/ft1_4FGL_J0748.6+2400_daily_bin1709.fits outfile=/scratch/kocevski/57154/ft1_filteredMKT_4FGL_J0748.6+2400_daily_bin1709.fits ra=117.164 dec=24.0166 rad=12.0 tmin=682300801.0 tmax=682560001.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.74
user 3.52
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/57154/ft2_4FGL_J0748.6+2400_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/57154/ft2_4FGL_J0748.6+2400_daily_bin1709.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/57154/ft1_filteredMKT_4FGL_J0748.6+2400_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/57154/ft1_filtered_4FGL_J0748.6+2400_daily_bin1709.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.50
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 680

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/57154/ft1_filtered_4FGL_J0748.6+2400_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/57154/ft2_4FGL_J0748.6+2400_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/57154/ltcube_682300801_682560001_4FGL_J0748.6+2400_daily_bin1709.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/57154/ft2_4FGL_J0748.6+2400_daily_bin1709.fits
.....................!
real 14.94
user 14.55
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/57154/ft1_filtered_4FGL_J0748.6+2400_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/57154/ft2_4FGL_J0748.6+2400_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/57154/ltcube_682300801_682560001_4FGL_J0748.6+2400_daily_bin1709.fits outfile=/scratch/kocevski/57154/expmap_682300801_682560001_4FGL_J0748.6+2400_daily_bin1709.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/57154/ltcube_682300801_682560001_4FGL_J0748.6+2400_daily_bin1709.fits
.....................!
real 193.83
user 188.72
sys 4.70

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
Extended source IC 443 in ROI with RadialGaussian spatial model.
Added 170 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0748.6+2400 @ 117.164 24.0166

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/57154/ft1_filtered_4FGL_J0748.6+2400_daily_bin1709.fits scfile=/scratch/kocevski/57154/ft2_4FGL_J0748.6+2400_daily_bin1709.fits outfile=/scratch/kocevski/57154/cmap_682300801_682560001_4FGL_J0748.6+2400_daily_bin1709.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=117.164 yref=24.0166 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/57154/ft1_filtered_4FGL_J0748.6+2400_daily_bin1709.fits scfile=/scratch/kocevski/57154/ft2_4FGL_J0748.6+2400_daily_bin1709.fits outfile=/scratch/kocevski/57154/cmap_HighResolution_682300801_682560001_4FGL_J0748.6+2400_daily_bin1709.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=117.164 yref=24.0166 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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/57154/ft1_filtered_4FGL_J0748.6+2400_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/57154/ft2_4FGL_J0748.6+2400_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/57154/Model_4FGL_J0748.6+2400_daily_bin1709.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
adding source IC 443
Working on...
/scratch/kocevski/57154/ft1_filtered_4FGL_J0748.6+2400_daily_bin1709.fits....................!
real 85.90
user 84.39
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/57154/ft1_filtered_4FGL_J0748.6+2400_daily_bin1709.fits', '/scratch/kocevski/57154/ft2_4FGL_J0748.6+2400_daily_bin1709.fits', expMap='/scratch/kocevski/57154/expmap_682300801_682560001_4FGL_J0748.6+2400_daily_bin1709.fits', expCube='/scratch/kocevski/57154/ltcube_682300801_682560001_4FGL_J0748.6+2400_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/57154/Model_4FGL_J0748.6+2400_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0748.6+2400'

4FGL J0748.6+2400
   Spectrum: PowerLaw
256    Prefactor:  6.975e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
257        Index:  2.339e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  1.118e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/57154/ft1_filtered_4FGL_J0748.6+2400_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/57154/ft2_4FGL_J0748.6+2400_daily_bin1709.fits
Exposure map: /scratch/kocevski/57154/expmap_682300801_682560001_4FGL_J0748.6+2400_daily_bin1709.fits
Exposure cube: /scratch/kocevski/57154/ltcube_682300801_682560001_4FGL_J0748.6+2400_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/57154/Model_4FGL_J0748.6+2400_daily_bin1709.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) = 7429.79847379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0367       1.0000          .0000       .10000E+07
     2 'norm      '    .75528E-06   1.0000          .0000       .10000E+07
     3 'norm      '    1.0635       1.0000          .0000       .10000E+07
     4 'Prefactor '    .55314E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .70854E-06   1.0000          .0000       .10000E+07
     6 'norm      '    9.3754       1.0000          .0000       .10000E+07
     7 'norm      '    .17120E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20659E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10083E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    81.470       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.332       1.0000          .0000       .10000E+07
    12 'norm      '    .13439E-01   1.0000          .0000       .10000E+07
    13 'norm      '    14.476       1.0000          .0000       .10000E+07
    14 'Prefactor '    33.847       1.0000          .0000       .10000E+07
    15 'Prefactor '    .51912E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    77.090       1.0000          .0000       .10000E+07
    17 'norm      '    .62840E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    3.4129       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2323       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .81714       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7429.694     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     1554 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0887        8.2608       -.32801E-06    .63304E-04
   2  norm           .0000        3.1277       -.72193E-06** at limit **
   3  norm          1.0671        .68506        .32521E-06   -.54780E-02
   4  Prefactor     .13323E-08    19.093        .12155E-05** at limit **
   5  norm           .0000        .38250       -.52701E-06** at limit **
   6  norm          9.3531        2.5212       -.22466E-07   -.18434E-01
   7  norm          .11102E-09    1.2669       -.17965E-05** at limit **
   8  Prefactor     .11102E-08    16.157        .36455E-05** at limit **
   9  Prefactor     .16653E-09    6.2854        .64751E-05** at limit **
  10  Prefactor     85.362        55.990       -.38030E-05   -.37918E-03
  11  Prefactor     14.326        5.2312       -.62692E-06   -.40951E-02
  12  norm          .27756E-09    13.336        .72020E-05** at limit **
  13  norm          22.657        127.44        .10419E-04    .10156E-03
  14  Prefactor     34.992        35.142        .89803E-05    .30744E-03
  15  Prefactor     .33307E-09    22.495        .10037E-04** at limit **
  16  Prefactor     78.119        29.410       -.91935E-05   -.20392E-02
  17  norm           .0000        1.1260        .89320E-06** at limit **
  18  Prefactor     3.4501        9.0626       -.61677E-06   -.23016E-02
  19  Normalizat    1.2272        .22635        .99484E-04   -.15025E-03
  20  Prefactor     .81725        .14311       -.51765E-04   -.20297E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.08873
  norm       = 0
  norm       = 1.0671
  Prefactor  = 1.33227e-09
  norm       = 0
  norm       = 9.35307
  norm       = 1.11022e-10
  Prefactor  = 1.11022e-09
  Prefactor  = 1.66533e-10
  Prefactor  = 85.3617
  Prefactor  = 14.3259
  norm       = 2.77556e-10
  norm       = 22.6573
  Prefactor  = 34.9917
  Prefactor  = 3.33067e-10
  Prefactor  = 78.1191
  norm       = 0
  Prefactor  = 3.45007
  Normalizat = 1.22716
  Prefactor  = 0.817247
 **********
 **   18 **HESSE 
 **********

 FCN=   7429.694     FROM HESSE     STATUS=OK           331 CALLS     1885 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0887        8.2490        .35343E-03   -1.5651    
   2  norm           .0000        3.1267        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.0671        .69076        .11845E-02   -1.5687    
   4  Prefactor     .13323E-08    18.712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .38095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.3531        2.5215        .32706E-03   -1.5647    
   7  norm          .11102E-09    1.2672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-08    16.119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16653E-09    6.2955        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     85.362        55.757        .11080E-03   -1.5523    
  11  Prefactor     14.326        5.2229        .26431E-03   -1.5632    
  12  norm          .27756E-09    13.291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          22.657        126.18        .26299E-03   -1.5613    
  14  Prefactor     34.992        35.045        .17191E-03   -1.5590    
  15  Prefactor     .33307E-09    22.488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     78.119        29.376        .11390E-03   -1.5531    
  17  norm           .0000        1.1179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.4501        9.0465        .54734E-03   -1.5671    
  19  Normalizat    1.2272        .19339        .63899E-01   -.85768    
  20  Prefactor     .81725        .12256        .43940E-01   -.99096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.58207e-08
Minuit parameter uncertainties:
  1  8.24898
  2  1.79319e-05
  3  0.690759
  4  0.000313602
  5  4.64624e-06
  6  2.52147
  7  2.12238e-05
  8  0.000264645
  9  6.15539e-05
  10  55.7573
  11  5.22287
  12  0.000116694
  13  106.943
  14  35.0453
  15  0.00016994
  16  29.3757
  17  5.77724e-06
  18  9.04653
  19  0.193506
  20  0.122602
Done.

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

Extracting fit parameters...

4FGL J0748.6+2400
   Spectrum: PowerLaw
256    Prefactor:  1.665e-10  6.155e-05  0.000e+00  1.000e+06 ( 1.000e-13)
257        Index:  2.339e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  1.118e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  8.172e-01  1.226e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.227e+00  1.935e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 117.164 24.017
Photon Flux Upper Limit: 5.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/57154/likelihoodResults_682300801_682560001_4FGL_J0748.6+2400_daily_bin1709.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) = 7429.69633478
delta logL = -0.00208669813401

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7429.69424863
delta logL = -5.5032705859e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36549E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.8932       1.0000          .0000       10.000    
     3 'Normalizat'    1.2272       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81722       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7429.694     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      255 TOTAL
                     EDM=   .66E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .69826        .42118E-03** at limit **
   2  Index         1.3112        9.2302        .50000       -.68212E-10
   3  Normalizat    1.2272        .18700E-02    .63899E-01    .13502E-03
   4  Prefactor     .81725        .12333E-02    .43941E-01    .17374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 1.31121
  Normalizat = 1.22716
  Prefactor  = 0.817246
 **********
 **   18 **HESSE 
 **********

 FCN=   7429.694     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      288 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    3.5456        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.3112        5.0995        .50000       -.82974    
   3  Normalizat    1.2272        .42110E-02    .28265E-03   -.85767    
   4  Prefactor     .81725        .27786E-02    .22236E-03   -.99096    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.35025e-11
Minuit parameter uncertainties:
  1  3.68213e-05
  2  96559
  3  0.00421102
  4  0.00277865
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/57154': 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) = 7429.69424808
delta logL = 3.18323145621e-11

Extracting fit parameters...

4FGL J0748.6+2400
   Spectrum: PowerLaw
256    Prefactor:  1.110e-10  3.682e-05  0.000e+00  1.000e+06 ( 1.000e-13)
257        Index:  1.311e+00  9.656e+04  0.000e+00  1.000e+01 (-1.000e+00)
258        Scale:  1.118e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  8.172e-01  2.779e-03  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.227e+00  4.211e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 117.164 24.017

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/57154/cmap_HighResolution_682300801_682560001_4FGL_J0748.6+2400_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.43e-03', job_status='DONE', photon_flux_upper_limit='5.76e-08', time_completed='2022-09-16 13:29:17.207462', job_id='57154', GAL2='0.82', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1663360157.21', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='3.18e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1709' AND source_name='4FGL J0748.6+2400' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:29:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 57154: <4FGL_J0748.6+2400_daily_bin1709> in cluster <slac> Done

Job <4FGL_J0748.6+2400_daily_bin1709> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 13:15:27 2022
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:16:56 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:16:56 2022
Terminated at Fri Sep 16 13:29:18 2022
Results reported at Fri Sep 16 13:29:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.6+2400_daily_bin1709 117.164 24.0166 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0748.6+2400 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   627.22 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             301.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   743 sec.
    Turnaround time :                            831 sec.

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

