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


Performing analysis on: 4FGL_J2244.2+4057_daily_bin1734
RA = 341.061, Dec = 40.9597
tmin = 688780801, tmax = 689040001
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='776488', job_status='RUN', time_executed='2022-11-02 00:38:32.253234', time_epoch_executed='1667374712.25' WHERE source_name='4FGL J2244.2+4057' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776488

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776488/ft1_4FGL_J2244.2+4057_daily_bin1734.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776488/ft2_4FGL_J2244.2+4057_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776488/ft1_4FGL_J2244.2+4057_daily_bin1734.fits outfile=/scratch/kocevski/776488/ft1_filteredMKT_4FGL_J2244.2+4057_daily_bin1734.fits ra=341.061 dec=40.9597 rad=12.0 tmin=688780801.0 tmax=689040001.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.56
user 3.35
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/776488/ft2_4FGL_J2244.2+4057_daily_bin1734.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/776488/ft2_4FGL_J2244.2+4057_daily_bin1734.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/776488/ft1_filteredMKT_4FGL_J2244.2+4057_daily_bin1734.fits evtable="EVENTS" outfile="/scratch/kocevski/776488/ft1_filtered_4FGL_J2244.2+4057_daily_bin1734.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.32
sys 0.16

Number of photons that the gtmktime cut: 1609

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776488/ft1_filtered_4FGL_J2244.2+4057_daily_bin1734.fits" evtable="EVENTS" scfile=/scratch/kocevski/776488/ft2_4FGL_J2244.2+4057_daily_bin1734.fits sctable="SC_DATA" outfile=/scratch/kocevski/776488/ltcube_688780801_689040001_4FGL_J2244.2+4057_daily_bin1734.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/776488/ft2_4FGL_J2244.2+4057_daily_bin1734.fits
.....................!
real 11.92
user 11.57
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776488/ft1_filtered_4FGL_J2244.2+4057_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776488/ft2_4FGL_J2244.2+4057_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/776488/ltcube_688780801_689040001_4FGL_J2244.2+4057_daily_bin1734.fits outfile=/scratch/kocevski/776488/expmap_688780801_689040001_4FGL_J2244.2+4057_daily_bin1734.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/776488/ltcube_688780801_689040001_4FGL_J2244.2+4057_daily_bin1734.fits
.....................!
real 190.40
user 185.72
sys 4.32

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 FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 174 point sources and 3 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 J2244.2+4057 @ 341.061 40.9597

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/776488/ft1_filtered_4FGL_J2244.2+4057_daily_bin1734.fits scfile=/scratch/kocevski/776488/ft2_4FGL_J2244.2+4057_daily_bin1734.fits outfile=/scratch/kocevski/776488/cmap_688780801_689040001_4FGL_J2244.2+4057_daily_bin1734.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=341.061 yref=40.9597 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776488/ft1_filtered_4FGL_J2244.2+4057_daily_bin1734.fits scfile=/scratch/kocevski/776488/ft2_4FGL_J2244.2+4057_daily_bin1734.fits outfile=/scratch/kocevski/776488/cmap_HighResolution_688780801_689040001_4FGL_J2244.2+4057_daily_bin1734.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=341.061 yref=40.9597 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/776488/ft1_filtered_4FGL_J2244.2+4057_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776488/ft2_4FGL_J2244.2+4057_daily_bin1734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/776488/Model_4FGL_J2244.2+4057_daily_bin1734.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 CTB 109
adding source EG_v02
adding source FHES J2129.9+5833
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/scratch/kocevski/776488/ft1_filtered_4FGL_J2244.2+4057_daily_bin1734.fits.....................!
real 190.55
user 188.97
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/776488/ft1_filtered_4FGL_J2244.2+4057_daily_bin1734.fits', '/scratch/kocevski/776488/ft2_4FGL_J2244.2+4057_daily_bin1734.fits', expMap='/scratch/kocevski/776488/expmap_688780801_689040001_4FGL_J2244.2+4057_daily_bin1734.fits', expCube='/scratch/kocevski/776488/ltcube_688780801_689040001_4FGL_J2244.2+4057_daily_bin1734.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/776488/Model_4FGL_J2244.2+4057_daily_bin1734.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2244.2+4057'

4FGL J2244.2+4057
   Spectrum: LogParabola
387         norm:  8.060e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
388        alpha:  2.026e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
389         beta:  9.648e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  1.029e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/776488/ft1_filtered_4FGL_J2244.2+4057_daily_bin1734.fits
Spacecraft file(s): /scratch/kocevski/776488/ft2_4FGL_J2244.2+4057_daily_bin1734.fits
Exposure map: /scratch/kocevski/776488/expmap_688780801_689040001_4FGL_J2244.2+4057_daily_bin1734.fits
Exposure cube: /scratch/kocevski/776488/ltcube_688780801_689040001_4FGL_J2244.2+4057_daily_bin1734.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/776488/Model_4FGL_J2244.2+4057_daily_bin1734.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) = 15642.5532125

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    31.117       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13331E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .80404       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.206       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.2777       1.0000          .0000       .10000E+07
     6 'Prefactor '    .51626E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .55704       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.058       1.0000          .0000       .10000E+07
     9 'norm      '    .14377E-07   1.0000          .0000       .10000E+07
    10 'norm      '    16.140       1.0000          .0000       .10000E+07
    11 'norm      '    .54345E-07   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.2986       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .88964       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15641.95     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      666 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          31.118        1.8581        .24938E-09    .39814E-02
   2  Prefactor      .0000        9.6409       -.37336E-06** at limit **
   3  norm          .79843        2.5376       -.20498E-07    .26598E-03
   4  Prefactor     12.098        4.3055       -.60240E-08    .29539E-01
   5  Prefactor     4.3009        5.0891        .80814E-08   -.55366E-03
   6  Prefactor     .44409E-09    37.199       -.77982E-06** at limit **
   7  norm          .55725        1.5514       -.40142E-07    .87852E-04
   8  Prefactor     10.181        11.991        .64966E-09    .93637E-02
   9  norm           .0000        3.5233        .24290E-07** at limit **
  10  norm          16.251        9.8259       -.16009E-07   -.15966E-02
  11  norm           .0000        .69280        .59012E-08** at limit **
  12  Normalizat    1.2979        .24717        .25063E-06    .53927E-04
  13  Prefactor     .88971        .69302E-01   -.51751E-06    .18232E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 31.1181
  Prefactor  = 0
  norm       = 0.798434
  Prefactor  = 12.0982
  Prefactor  = 4.30088
  Prefactor  = 4.44089e-10
  norm       = 0.557254
  Prefactor  = 10.1806
  norm       = 0
  norm       = 16.2513
  norm       = 0
  Normalizat = 1.2979
  Prefactor  = 0.889709
 **********
 **   18 **HESSE 
 **********

 FCN=   15641.95     FROM HESSE     STATUS=OK           173 CALLS      839 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          31.118        1.8642        .17929E-03   -1.5596    
   2  Prefactor      .0000        9.7179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .79843        2.5502        .52635E-03   -1.5690    
   4  Prefactor     12.098        14.291        .28648E-03   -1.5638    
   5  Prefactor     4.3009        5.1382        .48688E-03   -1.5666    
   6  Prefactor     .44409E-09    37.291        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .55725        1.5600        .73167E-03   -1.5693    
   8  Prefactor     10.181        12.420        .31570E-03   -1.5644    
   9  norm           .0000        3.5189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          16.251        9.8367        .24904E-03   -1.5627    
  11  norm           .0000        .69617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.2979        .22244        .11071       -.83629    
  13  Prefactor     .88971        .61497E-01    .44873E-01   -.96502    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.93163e-08
Minuit parameter uncertainties:
  1  1.86421
  2  1.20959e-05
  3  2.55019
  4  14.2905
  5  5.13823
  6  0.000258483
  7  1.56001
  8  12.4196
  9  1.67078e-07
  10  9.8367
  11  2.08189e-07
  12  0.222603
  13  0.0615018
Done.

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

Extracting fit parameters...

4FGL J2244.2+4057
   Spectrum: LogParabola
387         norm:  7.984e-01  2.550e+00  0.000e+00  1.000e+06 ( 1.000e-12)
388        alpha:  2.026e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
389         beta:  9.648e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  1.029e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  8.897e-01  6.150e-02  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
587   Normalization:  1.298e+00  2.226e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 341.061 40.960
Photon Flux Upper Limit: 6.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.93e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/776488/likelihoodResults_688780801_689040001_4FGL_J2244.2+4057_daily_bin1734.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) = 15641.4289106
delta logL = 0.525123504069

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15641.406948
delta logL = 0.547086098146

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .49573       1.0000          .0000       .10000E+07
     2 'alpha     '    .72879       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2996       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88967       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5980E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   15641.41     FROM MIGRAD    STATUS=FAILED        96 CALLS      255 TOTAL
                     EDM=   .80E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49129        1.2121        .16767E-03   -.31896E-02
   2  alpha         .72462        .92257        .39728E-01   -.50565E-03
   3  Normalizat    1.2994        .23286        .49050E-03    .12692E-03
   4  Prefactor     .88972        .68304E-01    .16860E-03    .37868E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   15641.41     FROM SIMPLEX   STATUS=UNCHANGED     65 CALLS      320 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49129        1.2121        .86507E-05   -1.5694    
   2  alpha         .72462        .92257        .30028E-02   -.78971    
   3  Normalizat    1.2994        .23286        .31316E-03   -.83586    
   4  Prefactor     .88972        .68304E-01    .11201E-03   -.96501    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15641.41     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      350 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49128        1.1743        .67070E-05    .33901E-04
   2  alpha         .72462        .89731        .79455E-02   -.20836E-04
   3  Normalizat    1.2994        .23298        .19620E-04    .46356E-07
   4  Prefactor     .88972        .68338E-01    .33721E-04   -.40457E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.491284
  alpha      = 0.72462
  Normalizat = 1.29935
  Prefactor  = 0.889722
 **********
 **   18 **HESSE 
 **********

 FCN=   15641.41     FROM HESSE     STATUS=OK            25 CALLS      375 TOTAL
                     EDM=   .15E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49128        1.2162        .26828E-06   -1.5694    
   2  alpha         .72462        .92600        .15891E-02   -.78971    
   3  Normalizat    1.2994        .23299        .19620E-04   -.83586    
   4  Prefactor     .88972        .68343E-01    .67441E-05   -.96501    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53977e-13
Minuit parameter uncertainties:
  1  1.21616
  2  0.975121
  3  0.233182
  4  0.0683495
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776488': 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) = 15641.4069387
delta logL = 0.547095402544

Extracting fit parameters...

4FGL J2244.2+4057
   Spectrum: LogParabola
387         norm:  4.913e-01  1.216e+00  0.000e+00  1.000e+06 ( 1.000e-12)
388        alpha:  7.246e-01  9.751e-01  0.000e+00  5.000e+00 ( 1.000e+00)
389         beta:  9.648e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  1.029e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
595    Prefactor:  8.897e-01  6.835e-02  0.000e+00  1.000e+01 ( 1.000e+00)
596        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
597        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
587   Normalization:  1.299e+00  2.332e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.21
Ra Dec: 341.061 40.960
Photon Index (Free Index): 0.72 +/- 0.98
Photon Flux (Free Index): 3.05e-09 +/- 4.80e-09
Energy Flux (Free Index): 3.74e-05 +/- 6.66e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/776488/cmap_HighResolution_688780801_689040001_4FGL_J2244.2+4057_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.93e-05', comment='SUCCESS', energy_flux2='3.74e-05', dlogl='5.47e-01', photon_flux2='3.05e-09', job_status='DONE', time_completed='2022-11-02 00:51:50.883460', photon_index_error2='0.98', photon_index2='0.72', ts='0.12', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='6.80e-08', energy_flux_error2='6.66e-05', EG='1.30', time_epoch_completed='1667375510.88', return_code='0', job_id='776488', GAL2='0.89', EG2='1.30', return_code2='0', photon_flux_error2='4.80e-09', ts2='1.21', photon_index='2.03' WHERE bin_id='1734' AND source_name='4FGL J2244.2+4057' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:51:50 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 776488: <4FGL_J2244.2+4057_daily_bin1734> in cluster <slac> Done

Job <4FGL_J2244.2+4057_daily_bin1734> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Nov  2 00:35:29 2022
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov  2 00:35:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov  2 00:35:30 2022
Terminated at Wed Nov  2 00:51:51 2022
Results reported at Wed Nov  2 00:51:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2244.2+4057_daily_bin1734 341.061 40.9597 688780801 689040001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2244.2+4057 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   800.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             286.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            982 sec.

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

