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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin1758
RA = 220.561, Dec = 6.3755
tmin = 695001601, tmax = 695260801
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='369166', job_status='RUN', time_executed='2023-01-13 00:56:15.536568', time_epoch_executed='1673600175.54' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/369166

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/369166/ft1_4FGL_J1442.2+0622_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/369166/ft2_4FGL_J1442.2+0622_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/369166/ft1_4FGL_J1442.2+0622_daily_bin1758.fits outfile=/scratch/kocevski/369166/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin1758.fits ra=220.561 dec=6.3755 rad=12.0 tmin=695001601.0 tmax=695260801.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.82
user 2.59
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/369166/ft2_4FGL_J1442.2+0622_daily_bin1758.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/369166/ft2_4FGL_J1442.2+0622_daily_bin1758.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/369166/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin1758.fits evtable="EVENTS" outfile="/scratch/kocevski/369166/ft1_filtered_4FGL_J1442.2+0622_daily_bin1758.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.33
sys 0.17

Number of photons that the gtmktime cut: 950

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/369166/ft1_filtered_4FGL_J1442.2+0622_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/369166/ft2_4FGL_J1442.2+0622_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/369166/ltcube_695001601_695260801_4FGL_J1442.2+0622_daily_bin1758.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/369166/ft2_4FGL_J1442.2+0622_daily_bin1758.fits
.....................!
real 15.80
user 15.27
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/369166/ft1_filtered_4FGL_J1442.2+0622_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/369166/ft2_4FGL_J1442.2+0622_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/369166/ltcube_695001601_695260801_4FGL_J1442.2+0622_daily_bin1758.fits outfile=/scratch/kocevski/369166/expmap_695001601_695260801_4FGL_J1442.2+0622_daily_bin1758.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/369166/ltcube_695001601_695260801_4FGL_J1442.2+0622_daily_bin1758.fits
.....................!
real 191.99
user 185.92
sys 5.29

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

Setting source of interest to:
4FGL J1442.2+0622 @ 220.561 6.3755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/369166/ft1_filtered_4FGL_J1442.2+0622_daily_bin1758.fits scfile=/scratch/kocevski/369166/ft2_4FGL_J1442.2+0622_daily_bin1758.fits outfile=/scratch/kocevski/369166/cmap_695001601_695260801_4FGL_J1442.2+0622_daily_bin1758.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=220.561 yref=6.3755 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/369166/ft1_filtered_4FGL_J1442.2+0622_daily_bin1758.fits scfile=/scratch/kocevski/369166/ft2_4FGL_J1442.2+0622_daily_bin1758.fits outfile=/scratch/kocevski/369166/cmap_HighResolution_695001601_695260801_4FGL_J1442.2+0622_daily_bin1758.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=220.561 yref=6.3755 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/369166/ft1_filtered_4FGL_J1442.2+0622_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/369166/ft2_4FGL_J1442.2+0622_daily_bin1758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/369166/Model_4FGL_J1442.2+0622_daily_bin1758.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/369166/ft1_filtered_4FGL_J1442.2+0622_daily_bin1758.fits.....................!
real 75.29
user 73.76
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/369166/ft1_filtered_4FGL_J1442.2+0622_daily_bin1758.fits', '/scratch/kocevski/369166/ft2_4FGL_J1442.2+0622_daily_bin1758.fits', expMap='/scratch/kocevski/369166/expmap_695001601_695260801_4FGL_J1442.2+0622_daily_bin1758.fits', expCube='/scratch/kocevski/369166/ltcube_695001601_695260801_4FGL_J1442.2+0622_daily_bin1758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/369166/Model_4FGL_J1442.2+0622_daily_bin1758.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1442.2+0622'

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  3.653e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/369166/ft1_filtered_4FGL_J1442.2+0622_daily_bin1758.fits
Spacecraft file(s): /scratch/kocevski/369166/ft2_4FGL_J1442.2+0622_daily_bin1758.fits
Exposure map: /scratch/kocevski/369166/expmap_695001601_695260801_4FGL_J1442.2+0622_daily_bin1758.fits
Exposure cube: /scratch/kocevski/369166/ltcube_695001601_695260801_4FGL_J1442.2+0622_daily_bin1758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/369166/Model_4FGL_J1442.2+0622_daily_bin1758.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) = 10385.7834668

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8970       1.0000          .0000       .10000E+07
     2 'Prefactor '    .34512E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    40.678       1.0000          .0000       .10000E+07
     4 'norm      '    .28062E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .15963E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.1848       1.0000          .0000       .10000E+07
     7 'Prefactor '    46.612       1.0000          .0000       .10000E+07
     8 'Prefactor '    .17680E-01   1.0000          .0000       .10000E+07
     9 'norm      '    .10939E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .75105E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .97604E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .88143E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .29683       1.0000          .0000       .10000E+07
    14 'norm      '    4.9548       1.0000          .0000       .10000E+07
    15 'norm      '    .89000       1.0000          .0000       .10000E+07
    16 'norm      '    .58564E-07   1.0000          .0000       .10000E+07
    17 'Normalizat'    .93209       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0686       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10385.78     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1302 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.0001        7.3953        .56845E-06   -.17392E-02
   2  Prefactor     .75673E-06    65.040        .41796E-07** at limit **
   3  Prefactor     40.630        4.1417        .45845E-08    .11076    
   4  norm           .0000        10.399        .81353E-07** at limit **
   5  norm          .16653E-09    5.4740       -.90602E-06** at limit **
   6  Prefactor     3.1837        4.0201        .45144E-07   -.10420E-02
   7  Prefactor     46.498        13.516       -.43136E-07    .96885E-01
   8  Prefactor     .11102E-09    16.356        .11612E-05** at limit **
   9  norm          .22204E-07    6.9634        .77695E-06** at limit **
  10  Prefactor     .22166E-06    54.099        .45047E-06** at limit **
  11  Prefactor     .15621E-06    2.6532        .10153E-06** at limit **
  12  Prefactor     .66003E-07    5.5598       -.35077E-06** at limit **
  13  norm          .29688        .13216       -.49026E-07    .20379E-01
  14  norm          4.9538        2.0636        .52942E-08   -.17533E-02
  15  norm          .89154        5.1230       -.65992E-06    .78326E-03
  16  norm           .0000        .85856        .31444E-07** at limit **
  17  Normalizat    .93206        .19400        .39336E-05   -.74717E-05
  18  Prefactor     1.0687        .12240       -.62821E-06    .17274E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.00011
  Prefactor  = 7.56728e-07
  Prefactor  = 40.6299
  norm       = 0
  norm       = 1.66533e-10
  Prefactor  = 3.18368
  Prefactor  = 46.4979
  Prefactor  = 1.11022e-10
  norm       = 2.22045e-08
  Prefactor  = 2.21656e-07
  Prefactor  = 1.56208e-07
  Prefactor  = 6.60028e-08
  norm       = 0.296876
  norm       = 4.95376
  norm       = 0.891542
  norm       = 0
  Normalizat = 0.932063
  Prefactor  = 1.06868
 **********
 **   18 **HESSE 
 **********

 FCN=   10385.78     FROM HESSE     STATUS=OK           278 CALLS     1580 TOTAL
                     EDM=   .78E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.0001        7.4044        .38179E-03   -1.5655    
   2  Prefactor     .75673E-06    67.718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     40.630        24.180        .15681E-03   -1.5580    
   4  norm           .0000        10.403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .16653E-09    5.4713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.1837        4.0529        .56757E-03   -1.5672    
   7  Prefactor     46.498        49.717        .14648E-03   -1.5572    
   8  Prefactor     .11102E-09    16.221        .17194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .22204E-07    7.7801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22166E-06    56.168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .15621E-06    7.4656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .66003E-07    7.3400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .29688        .13421        .53384E-03   -1.5697    
  14  norm          4.9538        2.0729        .45158E-03   -1.5663    
  15  norm          .89154        5.1005        .46454E-03   -1.5689    
  16  norm           .0000        .85674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .93206        .16559        .70649E-01   -.95342    
  18  Prefactor     1.0687        .10297        .38923E-01   -.90474    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.80317e-07
Minuit parameter uncertainties:
  1  7.40439
  2  0.0143173
  3  24.1797
  4  2.61549e-05
  5  5.96216e-05
  6  4.05292
  7  49.7175
  8  9.31753e-05
  9  0.000830897
  10  0.00705688
  11  0.00215962
  12  0.00139206
  13  0.13421
  14  2.07294
  15  4.26488
  16  2.73567e-06
  17  0.165681
  18  0.102989
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  2.220e-08  8.309e-04  0.000e+00  1.000e+06 ( 1.000e-13)
230        alpha:  2.698e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
231         beta:  3.190e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.069e+00  1.030e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  9.321e-01  1.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 220.561 6.375
Photon Flux Upper Limit: 4.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.64e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/369166/likelihoodResults_695001601_695260801_4FGL_J1442.2+0622_daily_bin1758.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) = 10385.8416944
delta logL = -0.0624484496711

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10385.779246
delta logL = -1.70985003933e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19346E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    2.6176       1.0000          .0000       5.0000    
     3 'Normalizat'    .93204       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0687       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10385.78     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      187 TOTAL
                     EDM=   .55E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        7.8480        .42118E-03** at limit **
   2  alpha         2.2469        .99618       -.58275E-05     .0000    
   3  Normalizat    .93206        1.2658        .59607E-05   -.77277E-04
   4  Prefactor     1.0687        1.1723       -.63143E-05   -.92882E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.24694
  Normalizat = 0.932063
  Prefactor  = 1.06868
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10385.78     FROM HESSE     STATUS=FAILED         9 CALLS      196 TOTAL
                     EDM=   .55E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        7.8480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.0650        1.2032       -.58275E-05   -.10140    
   3  Normalizat    .93206        1.2658        .59607E-05   -.95342    
   4  Prefactor     1.0687        1.1723       -.63143E-05   -.90474    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.5235e-12
Minuit parameter uncertainties:
  1  1.46018e-05
  2  1.02494
  3  1.31017
  4  1.20242
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/369166': 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): 101
logL (Free Index) = 10385.779246
delta logL = 1.42244971357e-09

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  0.000e+00  1.460e-05  0.000e+00  1.000e+06 ( 1.000e-13)
230        alpha:  2.247e+00  1.025e+00  0.000e+00  5.000e+00 ( 1.000e+00)
231         beta:  3.190e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
232           Eb:  1.225e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.069e+00  1.202e+00  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  9.321e-01  1.310e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 220.561 6.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/369166/cmap_HighResolution_695001601_695260801_4FGL_J1442.2+0622_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.64e-05', job_status='DONE', photon_flux_upper_limit='4.52e-08', time_completed='2023-01-13 01:06:36.166285', job_id='369166', GAL2='1.07', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1673600796.17', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.42e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.70' WHERE bin_id='1758' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 01:06:36 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 369166: <4FGL_J1442.2+0622_daily_bin1758> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin1758> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jan 13 00:55:14 2023
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:55:47 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:55:47 2023
Terminated at Fri Jan 13 01:06:37 2023
Results reported at Fri Jan 13 01:06:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin1758 220.561 6.3755 695001601 695260801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1442.2+0622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   622.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             378.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   649 sec.
    Turnaround time :                            683 sec.

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

