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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1744
RA = 223.544, Dec = 16.3747
tmin = 691372801, tmax = 691632001
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='583782', job_status='RUN', time_executed='2022-12-02 01:11:32.834192', time_epoch_executed='1669972292.83' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/583782

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/583782/ft1_4FGL_J1454.1+1622_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/583782/ft2_4FGL_J1454.1+1622_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/583782/ft1_4FGL_J1454.1+1622_daily_bin1744.fits outfile=/scratch/kocevski/583782/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1744.fits ra=223.544 dec=16.3747 rad=12.0 tmin=691372801.0 tmax=691632001.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 2.50
user 2.29
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/583782/ft2_4FGL_J1454.1+1622_daily_bin1744.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/583782/ft2_4FGL_J1454.1+1622_daily_bin1744.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/583782/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/583782/ft1_filtered_4FGL_J1454.1+1622_daily_bin1744.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 818

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/583782/ft1_filtered_4FGL_J1454.1+1622_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/583782/ft2_4FGL_J1454.1+1622_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/583782/ltcube_691372801_691632001_4FGL_J1454.1+1622_daily_bin1744.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/583782/ft2_4FGL_J1454.1+1622_daily_bin1744.fits
.....................!
real 12.18
user 11.80
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/583782/ft1_filtered_4FGL_J1454.1+1622_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/583782/ft2_4FGL_J1454.1+1622_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/583782/ltcube_691372801_691632001_4FGL_J1454.1+1622_daily_bin1744.fits outfile=/scratch/kocevski/583782/expmap_691372801_691632001_4FGL_J1454.1+1622_daily_bin1744.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/583782/ltcube_691372801_691632001_4FGL_J1454.1+1622_daily_bin1744.fits
.....................!
real 189.55
user 184.17
sys 4.99

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

Setting source of interest to:
4FGL J1454.1+1622 @ 223.544 16.3747

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/583782/ft1_filtered_4FGL_J1454.1+1622_daily_bin1744.fits scfile=/scratch/kocevski/583782/ft2_4FGL_J1454.1+1622_daily_bin1744.fits outfile=/scratch/kocevski/583782/cmap_691372801_691632001_4FGL_J1454.1+1622_daily_bin1744.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=223.544 yref=16.3747 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/583782/ft1_filtered_4FGL_J1454.1+1622_daily_bin1744.fits scfile=/scratch/kocevski/583782/ft2_4FGL_J1454.1+1622_daily_bin1744.fits outfile=/scratch/kocevski/583782/cmap_HighResolution_691372801_691632001_4FGL_J1454.1+1622_daily_bin1744.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=223.544 yref=16.3747 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/583782/ft1_filtered_4FGL_J1454.1+1622_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/583782/ft2_4FGL_J1454.1+1622_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/583782/Model_4FGL_J1454.1+1622_daily_bin1744.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/583782/ft1_filtered_4FGL_J1454.1+1622_daily_bin1744.fits.....................!
real 65.08
user 63.31
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/583782/ft1_filtered_4FGL_J1454.1+1622_daily_bin1744.fits', '/scratch/kocevski/583782/ft2_4FGL_J1454.1+1622_daily_bin1744.fits', expMap='/scratch/kocevski/583782/expmap_691372801_691632001_4FGL_J1454.1+1622_daily_bin1744.fits', expCube='/scratch/kocevski/583782/ltcube_691372801_691632001_4FGL_J1454.1+1622_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/583782/Model_4FGL_J1454.1+1622_daily_bin1744.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1454.1+1622'

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  7.482e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
221        Index:  2.409e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/583782/ft1_filtered_4FGL_J1454.1+1622_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/583782/ft2_4FGL_J1454.1+1622_daily_bin1744.fits
Exposure map: /scratch/kocevski/583782/expmap_691372801_691632001_4FGL_J1454.1+1622_daily_bin1744.fits
Exposure cube: /scratch/kocevski/583782/ltcube_691372801_691632001_4FGL_J1454.1+1622_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/583782/Model_4FGL_J1454.1+1622_daily_bin1744.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) = 9090.55357903

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    53.431       1.0000          .0000       .10000E+07
     2 'Prefactor '    .90583E-06   1.0000          .0000       .10000E+07
     3 'norm      '    5.7141       1.0000          .0000       .10000E+07
     4 'norm      '    1.7506       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14281E-03   1.0000          .0000       .10000E+07
     6 'norm      '    29.782       1.0000          .0000       .10000E+07
     7 'norm      '    .27279       1.0000          .0000       .10000E+07
     8 'Prefactor '    20.091       1.0000          .0000       .10000E+07
     9 'Prefactor '    23.245       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.5504       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.2800       1.0000          .0000       .10000E+07
    12 'norm      '    .55613       1.0000          .0000       .10000E+07
    13 'norm      '    .16870E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .11387E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .87017E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10088       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3979       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .82314       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9090.506     FROM MIGRAD    STATUS=CONVERGED     98 CALLS     1258 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     53.144        1.7005        .30428E-07    .22476E-01
   2  Prefactor      .0000        3.7542        .88407E-06** at limit **
   3  norm          5.7138        2.4232        .61677E-07   -.22525E-02
   4  norm          1.7505        2.1838       -.38414E-06    .72156E-03
   5  Prefactor     .36154E-06    26.623        .40335E-05** at limit **
   6  norm          29.976        3.7145       -.28491E-06   -.13434    
   7  norm          .26784        8.1228       -.19989E-06    .22071E-03
   8  Prefactor     20.344        1.3065       -.38212E-07   -.58723E-01
   9  Prefactor     23.382        3.1597       -.13891E-06   -.32252E-01
  10  Prefactor     3.4662        3.6041       -.47682E-07   -.27938E-02
  11  Prefactor     9.1783        6.6467        .21824E-07   -.84188E-03
  12  norm          .55591        .18997       -.59170E-07    .27956E-01
  13  norm          .16653E-09    1.9494       -.96171E-06** at limit **
  14  norm          .14322E-07    12.319       -.48003E-05** at limit **
  15  Prefactor     .38525E-07    32.516        .21965E-05** at limit **
  16  Prefactor     .55511E-09    26.198        .24659E-05** at limit **
  17  Normalizat    1.3980        .22247       -.81588E-05    .50615E-05
  18  Prefactor     .82318        .14160        .10877E-05   -.29781E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 53.144
  Prefactor  = 0
  norm       = 5.71381
  norm       = 1.75051
  Prefactor  = 3.61544e-07
  norm       = 29.9765
  norm       = 0.267839
  Prefactor  = 20.3438
  Prefactor  = 23.3818
  Prefactor  = 3.46618
  Prefactor  = 9.17828
  norm       = 0.55591
  norm       = 1.66533e-10
  norm       = 1.43219e-08
  Prefactor  = 3.85247e-08
  Prefactor  = 5.55112e-10
  Normalizat = 1.39796
  Prefactor  = 0.823182
 **********
 **   18 **HESSE 
 **********

 FCN=   9090.506     FROM HESSE     STATUS=OK           290 CALLS     1548 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     53.144        27.724        .13682E-03   -1.5562    
   2  Prefactor      .0000        3.7478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.7138        2.4267        .41996E-03   -1.5660    
   4  norm          1.7505        2.2032        .79212E-03   -1.5682    
   5  Prefactor     .36154E-06    27.894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          29.976        20.689        .18327E-03   -1.5598    
   7  norm          .26784        1.6384        .66785E-02   -1.5698    
   8  Prefactor     20.344        25.435        .22317E-03   -1.5618    
   9  Prefactor     23.382        25.195        .20747E-03   -1.5611    
  10  Prefactor     3.4662        52.687        .53617E-03   -1.5671    
  11  Prefactor     9.1783        6.6545        .32875E-03   -1.5647    
  12  norm          .55591        .19188        .52740E-03   -1.5693    
  13  norm          .16653E-09    1.9472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .14322E-07    12.288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .38525E-07    33.271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-09    25.928        .13906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3980        .18950        .62853E-01   -.80688    
  18  Prefactor     .82318        .11804        .44018E-01   -.98879    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94964e-07
Minuit parameter uncertainties:
  1  27.7236
  2  1.60416e-06
  3  2.4267
  4  2.20319
  5  0.00635138
  6  20.6895
  7  1.32487
  8  25.4355
  9  25.1947
  10  27.028
  11  6.65448
  12  0.19188
  13  3.47956e-05
  14  0.000838931
  15  0.0022649
  16  0.000240455
  17  0.189597
  18  0.118078
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  3.466e+00  2.703e+01  0.000e+00  1.000e+06 ( 1.000e-13)
221        Index:  2.409e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  8.232e-01  1.181e-01  0.000e+00  1.000e+01 ( 1.000e+00)
479        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
480        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
477   Normalization:  1.398e+00  1.896e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 223.544 16.375
Photon Flux Upper Limit: 9.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/583782/likelihoodResults_691372801_691632001_4FGL_J1454.1+1622_daily_bin1744.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) = 9090.47607652
delta logL = 0.029711107356

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9090.47390272
delta logL = 0.0318849066516

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7611       1.0000          .0000       .10000E+07
     2 'Index     '    3.2250       1.0000          .0000       10.000    
     3 'Normalizat'    1.3857       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82747       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4810E+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=   9090.474     FROM MIGRAD    STATUS=FAILED        86 CALLS      357 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7602        102.17        .24492E-04   -.33848E-02
   2  Index         3.2245        6.4782        .44681E-02   -.16236E-03
   3  Normalizat    1.3857        .23181        .27902E-03   -.77135E-03
   4  Prefactor     .82748        .14618        .22455E-03   -.72618E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9090.474     FROM SIMPLEX   STATUS=UNCHANGED     78 CALLS      435 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7602        102.17        .57033E-04   -1.5675    
   2  Index         3.2245        6.4782        .41351E-02   -.36303    
   3  Normalizat    1.3857        .23181        .19278E-03   -.81043    
   4  Prefactor     .82748        .14618        .13631E-03   -.98723    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9090.474     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      462 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7580        39.723        .97967E-06   -.51691E-02
   2  Index         3.2250        3.8208        .17873E-03   -.63813E-04
   3  Normalizat    1.3857        .22929        .55804E-04   -.51991E-03
   4  Prefactor     .82749        .14411        .44910E-04   -.48229E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.758
  Index      = 3.22497
  Normalizat = 1.38569
  Prefactor  = 0.827487
 **********
 **   18 **HESSE 
 **********

 FCN=   9090.474     FROM HESSE     STATUS=OK            23 CALLS      485 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7580        39.000        .37372E-06   -1.5675    
   2  Index         3.2250        3.7971        .35745E-04   -.36292    
   3  Normalizat    1.3857        .22934        .11161E-04   -.81043    
   4  Prefactor     .82749        .14413        .89820E-05   -.98723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.76547e-10
Minuit parameter uncertainties:
  1  20.7425
  2  4.43196
  3  0.229507
  4  0.144195
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/583782': 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) = 9090.47390265
delta logL = 0.0318849723935

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  2.758e+00  2.074e+01  0.000e+00  1.000e+06 ( 1.000e-13)
221        Index:  3.225e+00  4.432e+00  0.000e+00  1.000e+01 (-1.000e+00)
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  8.275e-01  1.442e-01  0.000e+00  1.000e+01 ( 1.000e+00)
479        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
480        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
477   Normalization:  1.386e+00  2.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 223.544 16.375

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/583782/cmap_HighResolution_691372801_691632001_4FGL_J1454.1+1622_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.30e-03', job_status='DONE', photon_flux_upper_limit='9.45e-08', time_completed='2022-12-02 01:20:43.964875', job_id='583782', GAL2='0.83', fit_tolerance='1e-08', EG2='1.39', EG='1.40', time_epoch_completed='1669972843.96', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='3.19e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1744' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 01:20:43 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 583782: <4FGL_J1454.1+1622_daily_bin1744> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1744> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec  2 01:10:18 2022
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 01:10:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 01:10:19 2022
Terminated at Fri Dec  2 01:20:45 2022
Results reported at Fri Dec  2 01:20:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1744 223.544 16.3747 691372801 691632001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1454.1+1622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   551.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   625 sec.
    Turnaround time :                            627 sec.

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

