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 108 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0612.8+4122_weekly_bin724
RA = 93.2218, Dec = 41.3717
tmin = 676857601, tmax = 677462401
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='361256', job_status='RUN', time_executed='2022-06-21 00:12:56.569865', time_epoch_executed='1655795576.57' WHERE source_name='4FGL J0612.8+4122' and cadence='weekly' and bin_id='724'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/361256

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/361256/ft1_4FGL_J0612.8+4122_weekly_bin724.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/361256/ft2_4FGL_J0612.8+4122_weekly_bin724.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/361256/ft1_4FGL_J0612.8+4122_weekly_bin724.fits outfile=/scratch/kocevski/361256/ft1_filteredMKT_4FGL_J0612.8+4122_weekly_bin724.fits ra=93.2218 dec=41.3717 rad=12.0 tmin=676857601.0 tmax=677462401.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.92
user 5.60
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/361256/ft2_4FGL_J0612.8+4122_weekly_bin724.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/361256/ft2_4FGL_J0612.8+4122_weekly_bin724.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/361256/ft1_filteredMKT_4FGL_J0612.8+4122_weekly_bin724.fits evtable="EVENTS" outfile="/scratch/kocevski/361256/ft1_filtered_4FGL_J0612.8+4122_weekly_bin724.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.58
user 0.39
sys 0.16

Number of photons that the gtmktime cut: 356

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/361256/ft1_filtered_4FGL_J0612.8+4122_weekly_bin724.fits" evtable="EVENTS" scfile=/scratch/kocevski/361256/ft2_4FGL_J0612.8+4122_weekly_bin724.fits sctable="SC_DATA" outfile=/scratch/kocevski/361256/ltcube_676857601_677462401_4FGL_J0612.8+4122_weekly_bin724.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/361256/ft2_4FGL_J0612.8+4122_weekly_bin724.fits
.....................!
real 35.75
user 35.08
sys 0.45

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/361256/ft1_filtered_4FGL_J0612.8+4122_weekly_bin724.fits evtable="EVENTS" scfile=/scratch/kocevski/361256/ft2_4FGL_J0612.8+4122_weekly_bin724.fits sctable="SC_DATA" expcube=/scratch/kocevski/361256/ltcube_676857601_677462401_4FGL_J0612.8+4122_weekly_bin724.fits outfile=/scratch/kocevski/361256/expmap_676857601_677462401_4FGL_J0612.8+4122_weekly_bin724.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/361256/ltcube_676857601_677462401_4FGL_J0612.8+4122_weekly_bin724.fits
.....................!
real 192.94
user 186.82
sys 5.37

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template.
Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template.
Extended source IC 443 in ROI with RadialGaussian spatial model.
Added 169 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0612.8+4122 @ 93.2218 41.3717

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/361256/ft1_filtered_4FGL_J0612.8+4122_weekly_bin724.fits scfile=/scratch/kocevski/361256/ft2_4FGL_J0612.8+4122_weekly_bin724.fits outfile=/scratch/kocevski/361256/cmap_676857601_677462401_4FGL_J0612.8+4122_weekly_bin724.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=93.2218 yref=41.3717 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.59
user 0.43
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/361256/ft1_filtered_4FGL_J0612.8+4122_weekly_bin724.fits scfile=/scratch/kocevski/361256/ft2_4FGL_J0612.8+4122_weekly_bin724.fits outfile=/scratch/kocevski/361256/cmap_HighResolution_676857601_677462401_4FGL_J0612.8+4122_weekly_bin724.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=93.2218 yref=41.3717 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.59
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/361256/ft1_filtered_4FGL_J0612.8+4122_weekly_bin724.fits evtable="EVENTS" scfile=/scratch/kocevski/361256/ft2_4FGL_J0612.8+4122_weekly_bin724.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/361256/Model_4FGL_J0612.8+4122_weekly_bin724.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
adding source HB 9
adding source IC 443
adding source S 147
Working on...
/scratch/kocevski/361256/ft1_filtered_4FGL_J0612.8+4122_weekly_bin724.fits.....................!
real 91.49
user 89.43
sys 1.54

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/361256/ft1_filtered_4FGL_J0612.8+4122_weekly_bin724.fits', '/scratch/kocevski/361256/ft2_4FGL_J0612.8+4122_weekly_bin724.fits', expMap='/scratch/kocevski/361256/expmap_676857601_677462401_4FGL_J0612.8+4122_weekly_bin724.fits', expCube='/scratch/kocevski/361256/ltcube_676857601_677462401_4FGL_J0612.8+4122_weekly_bin724.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/361256/Model_4FGL_J0612.8+4122_weekly_bin724.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0612.8+4122'

4FGL J0612.8+4122
   Spectrum: LogParabola
255         norm:  3.236e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
256        alpha:  1.833e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
257         beta:  1.088e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
258           Eb:  1.232e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/361256/ft1_filtered_4FGL_J0612.8+4122_weekly_bin724.fits
Spacecraft file(s): /scratch/kocevski/361256/ft2_4FGL_J0612.8+4122_weekly_bin724.fits
Exposure map: /scratch/kocevski/361256/expmap_676857601_677462401_4FGL_J0612.8+4122_weekly_bin724.fits
Exposure cube: /scratch/kocevski/361256/ltcube_676857601_677462401_4FGL_J0612.8+4122_weekly_bin724.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/361256/Model_4FGL_J0612.8+4122_weekly_bin724.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) = 3829.41284622

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .89988E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .36734E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .99311E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    254.34       1.0000         .10000E-03   10000.    
     5 'norm      '    2.4727       1.0000         .10000E-03   10000.    
     6 'norm      '    .10280E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .22016E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.977       1.0000         .10000E-03   10000.    
     9 'norm      '    7.5190       1.0000         .10000E-03   10000.    
    10 'norm      '    3.6433       1.0000         .10000E-03   10000.    
    11 'Prefactor '    32.794       1.0000         .10000E-03   10000.    
    12 'norm      '    .10138E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    .79263       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .93478       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3829.413     FROM MIGRAD    STATUS=CONVERGED     91 CALLS     1068 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.156        .16250E-05** at limit **
   2  norm          .10000E-03    24.277        .30517E-04** at limit **
   3  Prefactor     .10000E-03    85.670        .56731E-05** at limit **
   4  norm          254.86        96.986       -.26091E-06   -.94024E-03
   5  norm          2.4733        4.7248       -.21846E-05    .73417E-05
   6  norm          .10000E-03    2.6406       -.95801E-06** at limit **
   7  norm          .10000E-03    8.7785       -.46145E-06** at limit **
   8  Prefactor     13.977        11.405        .26316E-05    .37121E-03
   9  norm          7.5221        5.2498        .85401E-06    .12856E-04
  10  norm          3.6457        4.7789       -.16053E-06   -.34894E-04
  11  Prefactor     32.826        6.1031       -.27251E-06    .56609E-02
  12  norm          .10000E-03    1.6349        .55279E-06** at limit **
  13  Normalizat    .79234        .33996        .13839E-04   -.32663E-06
  14  Prefactor     .93465        .11597       -.23418E-05    .20789E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 254.862
  norm       = 2.47328
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 13.9766
  norm       = 7.52207
  norm       = 3.64566
  Prefactor  = 32.8264
  norm       = 0.0001
  Normalizat = 0.792336
  Prefactor  = 0.934655
 **********
 **   18 **HESSE 
 **********

 FCN=   3829.413     FROM HESSE     STATUS=OK           200 CALLS     1268 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.140        .10415E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.7619        .67616E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    85.559        .10383E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          254.86        97.623        .63516E-03   -1.2501    
   5  norm          2.4733        4.7505        .65006E-02   -1.5393    
   6  norm          .10000E-03    2.6300        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    8.7569        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.977        11.418        .26784E-02   -1.4960    
   9  norm          7.5221        5.2589        .36564E-02   -1.5159    
  10  norm          3.6457        4.8677        .52911E-02   -1.5326    
  11  Prefactor     32.826        38.991        .17493E-02   -1.4561    
  12  norm          .10000E-03    1.6332        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    .79234        .33215        .10370       -1.0035    
  14  Prefactor     .93465        .11049        .34694E-01   -.94940    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50218e-07
Minuit parameter uncertainties:
  1  7.27391e-07
  2  1.43643e-05
  3  0.000324709
  4  97.6857
  5  4.75122
  6  4.70237e-07
  7  2.90037e-06
  8  11.4201
  9  5.25921
  10  4.86823
  11  39.0214
  12  8.73046e-08
  13  0.333008
  14  0.110519
Done.

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

Extracting fit parameters...

4FGL J0612.8+4122
   Spectrum: LogParabola
255         norm:  1.000e-04  4.702e-07  1.000e-04  1.000e+04 ( 1.000e-12)
256        alpha:  1.833e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
257         beta:  1.088e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
258           Eb:  1.232e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  9.347e-01  1.105e-01  0.000e+00  1.000e+01 ( 1.000e+00)
562        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
563        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  7.923e-01  3.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 93.222 41.372
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.02e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/361256/likelihoodResults_676857601_677462401_4FGL_J0612.8+4122_weekly_bin724.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): 102
logL (Free Index) = 3829.41451421
delta logL = -0.00175349128722

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3829.4127607
delta logL = 2.15968611883e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8261       1.0000          .0000       5.0000    
     3 'Normalizat'    .79232       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+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=   3829.413     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      245 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    261.56        .98159E-03** at limit **
   2  alpha         1.6882        4.1385        .50000        .13906E-06
   3  Normalizat    .79234        .10217        .45973E-03    .10312E-04
   4  Prefactor     .93465        .37094E-01    .15331E-03    .34334E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.68825
  Normalizat = 0.792336
  Prefactor  = 0.934655
 **********
 **   18 **HESSE 
 **********

 FCN=   3829.413     FROM HESSE     STATUS=OK            29 CALLS      274 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.2281        .19632E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6882        2.7049        .50000       -.33070    
   3  Normalizat    .79234        .31722        .18389E-04   -1.0035    
   4  Prefactor     .93465        .11538        .61324E-05   -.94940    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15743e-10
Minuit parameter uncertainties:
  1  2.57932e-05
  2  243.149
  3  0.317966
  4  0.115414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/361256': 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) = 3829.41276036
delta logL = 3.59514615411e-07

Extracting fit parameters...

4FGL J0612.8+4122
   Spectrum: LogParabola
255         norm:  1.000e-04  2.579e-05  1.000e-04  1.000e+04 ( 1.000e-12)
256        alpha:  1.688e+00  2.431e+02  0.000e+00  5.000e+00 ( 1.000e+00)
257         beta:  1.088e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
258           Eb:  1.232e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  9.347e-01  1.154e-01  0.000e+00  1.000e+01 ( 1.000e+00)
562        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
563        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  7.923e-01  3.180e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 93.222 41.372

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/361256/cmap_HighResolution_676857601_677462401_4FGL_J0612.8+4122_weekly_bin724.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-04', job_status='DONE', photon_flux_upper_limit='1.15e-07', time_completed='2022-06-21 00:21:43.800721', job_id='361256', GAL2='0.93', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1655796103.8', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='3.60e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.83' WHERE bin_id='724' AND source_name='4FGL J0612.8+4122' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun 21 00:21:43 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 361181: <4FGL_J0612.8+4122_weekly_bin724> in cluster <slac> Done

Job <4FGL_J0612.8+4122_weekly_bin724> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jun 21 00:05:30 2022
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jun 21 00:10:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jun 21 00:10:24 2022
Terminated at Tue Jun 21 00:20:17 2022
Results reported at Tue Jun 21 00:20:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0612.8+4122_weekly_bin724 93.2218 41.3717 676857601 677462401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0612.8+4122 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   532.00 sec.
    Max Memory :                                 621 MB
    Average Memory :                             294.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   594 sec.
    Turnaround time :                            887 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 361256: <4FGL_J0612.8+4122_weekly_bin724> in cluster <slac> Done

Job <4FGL_J0612.8+4122_weekly_bin724> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jun 21 00:05:32 2022
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jun 21 00:10:58 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jun 21 00:10:58 2022
Terminated at Tue Jun 21 00:21:44 2022
Results reported at Tue Jun 21 00:21:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0612.8+4122_weekly_bin724 93.2218 41.3717 676857601 677462401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0612.8+4122 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   528.00 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             291.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            972 sec.

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

