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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin1755
RA = 220.561, Dec = 6.3755
tmin = 694224001, tmax = 694483201
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='826801', job_status='RUN', time_executed='2023-01-04 01:14:12.506430', time_epoch_executed='1672823652.51' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/826801

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/826801/ft1_4FGL_J1442.2+0622_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/826801/ft2_4FGL_J1442.2+0622_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/826801/ft1_4FGL_J1442.2+0622_daily_bin1755.fits outfile=/scratch/kocevski/826801/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin1755.fits ra=220.561 dec=6.3755 rad=12.0 tmin=694224001.0 tmax=694483201.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.05
user 2.77
sys 0.21

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

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

Number of photons that the gtmktime cut: 851

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/826801/ft1_filtered_4FGL_J1442.2+0622_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/826801/ft2_4FGL_J1442.2+0622_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/826801/ltcube_694224001_694483201_4FGL_J1442.2+0622_daily_bin1755.fits outfile=/scratch/kocevski/826801/expmap_694224001_694483201_4FGL_J1442.2+0622_daily_bin1755.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/826801/ltcube_694224001_694483201_4FGL_J1442.2+0622_daily_bin1755.fits
.....................!
real 195.49
user 187.65
sys 5.78

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/826801/ft1_filtered_4FGL_J1442.2+0622_daily_bin1755.fits scfile=/scratch/kocevski/826801/ft2_4FGL_J1442.2+0622_daily_bin1755.fits outfile=/scratch/kocevski/826801/cmap_694224001_694483201_4FGL_J1442.2+0622_daily_bin1755.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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/826801/ft1_filtered_4FGL_J1442.2+0622_daily_bin1755.fits scfile=/scratch/kocevski/826801/ft2_4FGL_J1442.2+0622_daily_bin1755.fits outfile=/scratch/kocevski/826801/cmap_HighResolution_694224001_694483201_4FGL_J1442.2+0622_daily_bin1755.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.57
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/826801/ft1_filtered_4FGL_J1442.2+0622_daily_bin1755.fits', '/scratch/kocevski/826801/ft2_4FGL_J1442.2+0622_daily_bin1755.fits', expMap='/scratch/kocevski/826801/expmap_694224001_694483201_4FGL_J1442.2+0622_daily_bin1755.fits', expCube='/scratch/kocevski/826801/ltcube_694224001_694483201_4FGL_J1442.2+0622_daily_bin1755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/826801/Model_4FGL_J1442.2+0622_daily_bin1755.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/826801/ft1_filtered_4FGL_J1442.2+0622_daily_bin1755.fits
Spacecraft file(s): /scratch/kocevski/826801/ft2_4FGL_J1442.2+0622_daily_bin1755.fits
Exposure map: /scratch/kocevski/826801/expmap_694224001_694483201_4FGL_J1442.2+0622_daily_bin1755.fits
Exposure cube: /scratch/kocevski/826801/ltcube_694224001_694483201_4FGL_J1442.2+0622_daily_bin1755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/826801/Model_4FGL_J1442.2+0622_daily_bin1755.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) = 9267.97465638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.9077       1.0000          .0000       .10000E+07
     2 'Prefactor '    .39660E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .87031E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .32890E-05   1.0000          .0000       .10000E+07
     5 'norm      '    2.2492       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2290       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.0716       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12461E-04   1.0000          .0000       .10000E+07
     9 'norm      '    14.299       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.7047       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.1530       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20650E-07   1.0000          .0000       .10000E+07
    13 'norm      '    .70945       1.0000          .0000       .10000E+07
    14 'norm      '    4.1008       1.0000          .0000       .10000E+07
    15 'norm      '    .88748       1.0000          .0000       .10000E+07
    16 'norm      '    9.3004       1.0000          .0000       .10000E+07
    17 'Normalizat'    .81872       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93068       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=   9267.915     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     1249 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8245        6.4986        .60113E-07    .54731E-03
   2  Prefactor     .38858E-09    5.6953        .12308E-06** at limit **
   3  Prefactor     .55511E-10    13.659        .30630E-06** at limit **
   4  norm          .55511E-10    5.2105       -.34731E-07** at limit **
   5  norm          2.1567        15.574        .12945E-06   -.74714E-02
   6  Prefactor     1.2201        3.9958        .14992E-06    .64539E-03
   7  Prefactor     3.4361        77.213       -.19542E-06   -.24044E-02
   8  Prefactor     .19429E-08    21.230        .48914E-07** at limit **
   9  norm          14.353        2.5739       -.10857E-07   -.47041E-02
  10  Prefactor     2.6902        1.4340        .25634E-08    .10142E-02
  11  Prefactor     5.9886        3.9040       -.25192E-07    .18292E-01
  12  Prefactor      .0000        4.0990       -.32493E-07** at limit **
  13  norm          .70965        .16308       -.18444E-08   -.35239E-02
  14  norm          4.0974        1.9397        .17189E-07    .55660E-03
  15  norm          .88510        1.9231       -.94967E-08   -.36633E-01
  16  norm          9.3158        3.8193       -.37658E-07   -.14957E-02
  17  Normalizat    .81911        .18464       -.18704E-05   -.26440E-05
  18  Prefactor     .93053        .11730        .11420E-05    .32108E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.82445
  Prefactor  = 3.88578e-10
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  norm       = 2.15668
  Prefactor  = 1.22005
  Prefactor  = 3.43614
  Prefactor  = 1.94289e-09
  norm       = 14.3534
  Prefactor  = 2.69023
  Prefactor  = 5.98863
  Prefactor  = 0
  norm       = 0.709655
  norm       = 4.09741
  norm       = 0.885098
  norm       = 9.31584
  Normalizat = 0.819108
  Prefactor  = 0.930532
 **********
 **   18 **HESSE 
 **********

 FCN=   9267.915     FROM HESSE     STATUS=OK           286 CALLS     1535 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8245        6.4991        .38149E-03   -1.5656    
   2  Prefactor     .38858E-09    5.7188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    13.704        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .55511E-10    5.2016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.1567        19.589        .68487E-03   -1.5679    
   6  Prefactor     1.2201        4.0075        .10144E-02   -1.5686    
   7  Prefactor     3.4361        78.714        .57852E-03   -1.5671    
   8  Prefactor     .19429E-08    21.315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          14.353        12.266        .26462E-03   -1.5632    
  10  Prefactor     2.6902        13.084        .61912E-03   -1.5675    
  11  Prefactor     5.9886        19.300        .40449E-03   -1.5659    
  12  Prefactor      .0000        4.0950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .70965        .16551        .40030E-03   -1.5691    
  14  norm          4.0974        1.9496        .49758E-03   -1.5667    
  15  norm          .88510        5.7402        .46630E-03   -1.5689    
  16  norm          9.3158        3.8174        .32838E-03   -1.5647    
  17  Normalizat    .81911        .15673        .67485E-01   -.99364    
  18  Prefactor     .93053        .97963E-01    .45395E-01   -.95082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.75959e-08
Minuit parameter uncertainties:
  1  6.49912
  2  9.59103e-05
  3  6.25732e-05
  4  3.11807e-05
  5  12.9998
  6  4.00753
  7  32.8926
  8  0.000408092
  9  12.2656
  10  11.8657
  11  19.3001
  12  2.01864e-05
  13  0.165513
  14  1.94959
  15  4.50808
  16  3.81739
  17  0.156817
  18  0.0979815
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.435e+01  1.227e+01  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:  9.305e-01  9.798e-02  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:  8.191e-01  1.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.97
Ra Dec: 220.561 6.375
Photon Index (Fixed Index): 2.70 +/- 0.00
Photon Flux (Fixed Index): 2.38e-08 +/- 2.03e-08
Energy Flux (Fixed Index): 8.62e-06 +/- 7.37e-06

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

Saving results to:
/scratch/kocevski/826801/likelihoodResults_694224001_694483201_4FGL_J1442.2+0622_daily_bin1755.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) = 9267.83236197
delta logL = 0.0827746232644

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9267.83089286
delta logL = 0.0842437314768

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.407       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1232       1.0000          .0000       5.0000    
     3 'Normalizat'    .82998       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92745       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9267.831     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      305 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.415        20.662        .90830E-05    .47562E-04
   2  alpha         2.1244        1.5365        .34690E-01    .85988E-05
   3  Normalizat    .82998        .18230        .29680E-03   -.31946E-04
   4  Prefactor     .92738        .11620        .17959E-03    .57226E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 19.4148
  alpha      = 2.12445
  Normalizat = 0.829975
  Prefactor  = 0.927385
 **********
 **   18 **HESSE 
 **********

 FCN=   9267.831     FROM HESSE     STATUS=OK            25 CALLS      330 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.415        19.694        .36332E-06   -1.5620    
   2  alpha         2.1244        1.4749        .13876E-02   -.15079    
   3  Normalizat    .82998        .18212        .11872E-04   -.98966    
   4  Prefactor     .92738        .11628        .71836E-05   -.95191    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85051e-11
Minuit parameter uncertainties:
  1  19.6942
  2  1.58039
  3  0.182253
  4  0.116308
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/826801': 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) = 9267.83089169
delta logL = 0.0842448949388

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.941e+01  1.969e+01  0.000e+00  1.000e+06 ( 1.000e-13)
230        alpha:  2.124e+00  1.580e+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:  9.274e-01  1.163e-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:  8.300e-01  1.823e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.14
Ra Dec: 220.561 6.375
Photon Index (Free Index): 2.12 +/- 1.58
Photon Flux (Free Index): 1.46e-08 +/- 2.45e-08
Energy Flux (Free Index): 8.96e-06 +/- 8.54e-06

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/826801/cmap_HighResolution_694224001_694483201_4FGL_J1442.2+0622_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.61e-05', comment='SUCCESS', photon_flux='2.38e-08', energy_flux2='8.96e-06', photon_flux_error='2.03e-08', dlogl='8.42e-02', energy_flux='8.62e-06', photon_flux2='1.46e-08', job_status='DONE', time_completed='2023-01-04 01:23:44.931041', photon_index_error2='1.58', photon_index2='2.12', ts='2.97', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='7.21e-08', energy_flux_error2='8.54e-06', EG='0.82', time_epoch_completed='1672824224.93', return_code='0', job_id='826801', GAL2='0.93', EG2='0.83', return_code2='0', energy_flux_error='7.37e-06', photon_flux_error2='2.45e-08', ts2='3.14', photon_index='2.70' WHERE bin_id='1755' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 01:23:44 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 826801: <4FGL_J1442.2+0622_daily_bin1755> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin1755> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jan  4 01:10:26 2023
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 01:11:00 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 01:11:00 2023
Terminated at Wed Jan  4 01:23:45 2023
Results reported at Wed Jan  4 01:23:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin1755 220.561 6.3755 694224001 694483201 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 :                                   569.38 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             267.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            799 sec.

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

