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


Performing analysis on: 4FGL_J1442.2+0622_daily_bin1761
RA = 220.561, Dec = 6.3755
tmin = 695779201, tmax = 696038401
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='923463', job_status='RUN', time_executed='2023-01-22 01:01:11.148250', time_epoch_executed='1674378071.15' WHERE source_name='4FGL J1442.2+0622' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/923463

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/923463/ft1_4FGL_J1442.2+0622_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/923463/ft2_4FGL_J1442.2+0622_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/923463/ft1_4FGL_J1442.2+0622_daily_bin1761.fits outfile=/scratch/kocevski/923463/ft1_filteredMKT_4FGL_J1442.2+0622_daily_bin1761.fits ra=220.561 dec=6.3755 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.10
user 4.83
sys 0.22

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

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

Number of photons that the gtmktime cut: 687

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/923463/ft1_filtered_4FGL_J1442.2+0622_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/923463/ft2_4FGL_J1442.2+0622_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/923463/ltcube_695779201_696038401_4FGL_J1442.2+0622_daily_bin1761.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/923463/ft2_4FGL_J1442.2+0622_daily_bin1761.fits
.....................!
real 14.79
user 14.24
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/923463/ft1_filtered_4FGL_J1442.2+0622_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/923463/ft2_4FGL_J1442.2+0622_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/923463/ltcube_695779201_696038401_4FGL_J1442.2+0622_daily_bin1761.fits outfile=/scratch/kocevski/923463/expmap_695779201_696038401_4FGL_J1442.2+0622_daily_bin1761.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/923463/ltcube_695779201_696038401_4FGL_J1442.2+0622_daily_bin1761.fits
.....................!
real 193.57
user 187.28
sys 5.26

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/923463/ft1_filtered_4FGL_J1442.2+0622_daily_bin1761.fits scfile=/scratch/kocevski/923463/ft2_4FGL_J1442.2+0622_daily_bin1761.fits outfile=/scratch/kocevski/923463/cmap_695779201_696038401_4FGL_J1442.2+0622_daily_bin1761.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/923463/ft1_filtered_4FGL_J1442.2+0622_daily_bin1761.fits scfile=/scratch/kocevski/923463/ft2_4FGL_J1442.2+0622_daily_bin1761.fits outfile=/scratch/kocevski/923463/cmap_HighResolution_695779201_696038401_4FGL_J1442.2+0622_daily_bin1761.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.62
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15984E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    25.171       1.0000          .0000       .10000E+07
     3 'Prefactor '    52.471       1.0000          .0000       .10000E+07
     4 'norm      '    25.343       1.0000          .0000       .10000E+07
     5 'norm      '    .56674E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    10.428       1.0000          .0000       .10000E+07
     7 'Prefactor '    .28896E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .33142E-03   1.0000          .0000       .10000E+07
     9 'norm      '    74.085       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13101E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    26.852       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.0247       1.0000          .0000       .10000E+07
    13 'norm      '    .22766E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .30143E-07   1.0000          .0000       .10000E+07
    15 'norm      '    .33545E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .17238E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0157       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0089       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=   7638.784     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1136 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.5313        .91091E-07** at limit **
   2  Prefactor     25.115        1.3545       -.19756E-07   -.12006E-01
   3  Prefactor     52.521        1.4290       -.15261E-07   -.87142E-02
   4  norm          25.419        12.824       -.12737E-06    .29146E-02
   5  norm          .21649E-08    4.5913       -.72241E-07** at limit **
   6  Prefactor     10.391        8.2695        .51084E-07   -.12779E-03
   7  Prefactor     .16653E-08    29.584       -.31483E-06** at limit **
   8  Prefactor     .42910E-07    16.080        .84840E-07** at limit **
   9  norm          74.672        4.1409        .48254E-08   -.32528E-01
  10  Prefactor     .33862E-08    4.3942       -.68711E-07** at limit **
  11  Prefactor     26.796        6.0300       -.11403E-06   -.10954    
  12  Prefactor     .72898E-05    1103.5       -.84845E-05** at limit **
  13  norm          .22789E-01    .13245        .41092E-07** at limit **
  14  norm           .0000        .98873       -.24329E-07** at limit **
  15  norm          .14905E-06    16.304       -.21103E-06** at limit **
  16  norm          .77716E-09    7.0481       -.24332E-06** at limit **
  17  Normalizat    1.0160        .23763        .41556E-05    .50735E-04
  18  Prefactor     1.0089        .14419       -.29613E-05    .50151E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 25.1146
  Prefactor  = 52.5213
  norm       = 25.4188
  norm       = 2.16493e-09
  Prefactor  = 10.3912
  Prefactor  = 1.66533e-09
  Prefactor  = 4.29101e-08
  norm       = 74.6717
  Prefactor  = 3.38618e-09
  Prefactor  = 26.7962
  Prefactor  = 7.28978e-06
  norm       = 0.0227892
  norm       = 0
  norm       = 1.49047e-07
  norm       = 7.77156e-10
  Normalizat = 1.01602
  Prefactor  = 1.00894
 **********
 **   18 **HESSE 
 **********

 FCN=   7638.784     FROM HESSE     STATUS=OK           292 CALLS     1428 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.5151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     25.115        19.409        .19936E-03   -1.5608    
   3  Prefactor     52.521        32.981        .13806E-03   -1.5563    
   4  norm          25.419        12.849        .19868E-03   -1.5607    
   5  norm          .21649E-08    8.9366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.391        8.3534        .31004E-03   -1.5643    
   7  Prefactor     .16653E-08    30.348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .42910E-07    16.213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          74.672        25.177        .11619E-03   -1.5535    
  10  Prefactor     .33862E-08    8.9546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     26.796        26.564        .19302E-03   -1.5604    
  12  Prefactor     .72898E-05    23.123        .14620E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .22789E-01    .87867E-01    .90163E-03   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        .98286        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .14905E-06    16.314        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .77716E-09    6.7441        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0160        .20268        .71372E-01   -.92496    
  18  Prefactor     1.0089        .11952        .43491E-01   -.92432    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.36636e-07
Minuit parameter uncertainties:
  1  2.14083e-05
  2  19.4086
  3  32.9808
  4  12.8488
  5  0.000279343
  6  8.35338
  7  0.000447691
  8  0.00166847
  9  25.1775
  10  0.000348047
  11  26.5636
  12  0.0259666
  13  0.0878672
  14  1.71589e-06
  15  0.00311859
  16  0.000143085
  17  0.202833
  18  0.119549
Done.

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

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  7.467e+01  2.518e+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:  1.009e+00  1.195e-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:  1.016e+00  2.028e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 26.92
Ra Dec: 220.561 6.375
Photon Index (Fixed Index): 2.70 +/- 0.00
Photon Flux (Fixed Index): 1.24e-07 +/- 4.17e-08
Energy Flux (Fixed Index): 4.48e-05 +/- 1.51e-05

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) = 7637.94069134
delta logL = 0.843625980146

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7637.94057129
delta logL = 0.843746034545

Fit tolerance = 1e-08

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

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

 FCN=   7637.941     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      272 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          106.23        628.96        .96964E-04    .35479E-04
   2  alpha         2.2109        3.5611        .26287        .58431E-04
   3  Normalizat    1.0545        .21010        .70246E-01    .18425E-04
   4  Prefactor     .99652        .76305E-01    .46222E-01    .35968E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 106.231
  alpha      = 2.21093
  Normalizat = 1.05453
  Prefactor  = 0.996517
 **********
 **   18 **HESSE 
 **********

 FCN=   7637.941     FROM HESSE     STATUS=OK            33 CALLS      305 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          106.23        42.044        .19393E-04   -1.5502    
   2  alpha         2.2109        .38784        .10356E-01   -.11589    
   3  Normalizat    1.0545        .23866        .31081E-03   -.91225    
   4  Prefactor     .99652        .14401        .19205E-03   -.92846    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34943e-09
Minuit parameter uncertainties:
  1  42.0439
  2  0.389429
  3  0.238907
  4  0.144062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/923463': 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) = 7637.94054173
delta logL = 0.843775586088

Extracting fit parameters...

4FGL J1442.2+0622
   Spectrum: LogParabola
229         norm:  1.062e+02  4.204e+01  0.000e+00  1.000e+06 ( 1.000e-13)
230        alpha:  2.211e+00  3.894e-01  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.965e-01  1.441e-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:  1.055e+00  2.389e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 28.62
Ra Dec: 220.561 6.375
Photon Index (Free Index): 2.21 +/- 0.39
Photon Flux (Free Index): 8.85e-08 +/- 4.12e-08
Energy Flux (Free Index): 4.97e-05 +/- 1.81e-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/923463/cmap_HighResolution_695779201_696038401_4FGL_J1442.2+0622_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.24e-07', energy_flux2='4.97e-05', photon_flux_error='4.17e-08', dlogl='8.44e-01', energy_flux='4.48e-05', photon_flux2='8.85e-08', job_status='DONE', time_completed='2023-01-22 01:09:28.893521', photon_index_error2='0.39', photon_index2='2.21', ts='26.92', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.81e-05', EG='1.02', time_epoch_completed='1674378568.89', return_code='0', job_id='923463', GAL2='1.00', EG2='1.05', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='4.12e-08', ts2='28.62', photon_index='2.70' WHERE bin_id='1761' AND source_name='4FGL J1442.2+0622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:09:28 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 923463: <4FGL_J1442.2+0622_daily_bin1761> in cluster <slac> Done

Job <4FGL_J1442.2+0622_daily_bin1761> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Jan 22 01:00:22 2023
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:00:31 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:00:31 2023
Terminated at Sun Jan 22 01:09:29 2023
Results reported at Sun Jan 22 01:09:29 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1442.2+0622_daily_bin1761 220.561 6.3755 695779201 696038401 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 :                                   498.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             358.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   538 sec.
    Turnaround time :                            547 sec.

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

