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


Performing analysis on: 4FGL_J0612.8+4122_daily_bin1196
RA = 93.2218, Dec = 41.3717
tmin = 549331201, tmax = 549590401
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='216775', job_status='RUN', time_executed='2021-08-24 18:38:44.232278', time_epoch_executed='1629855524.23' WHERE source_name='4FGL J0612.8+4122' and cadence='daily' and bin_id='1196'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216775

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216775/ft1_4FGL_J0612.8+4122_daily_bin1196.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216775/ft2_4FGL_J0612.8+4122_daily_bin1196.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216775/ft1_4FGL_J0612.8+4122_daily_bin1196.fits outfile=/scratch/kocevski/216775/ft1_filteredMKT_4FGL_J0612.8+4122_daily_bin1196.fits ra=93.2218 dec=41.3717 rad=12.0 tmin=549331201.0 tmax=549590401.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.36
user 2.65
sys 0.68

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/216775/ft2_4FGL_J0612.8+4122_daily_bin1196.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/216775/ft1_filteredMKT_4FGL_J0612.8+4122_daily_bin1196.fits evtable="EVENTS" outfile="/scratch/kocevski/216775/ft1_filtered_4FGL_J0612.8+4122_daily_bin1196.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 1.01
user 0.32
sys 0.65

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/216775/ft1_filtered_4FGL_J0612.8+4122_daily_bin1196.fits" evtable="EVENTS" scfile=/scratch/kocevski/216775/ft2_4FGL_J0612.8+4122_daily_bin1196.fits sctable="SC_DATA" outfile=/scratch/kocevski/216775/ltcube_549331201_549590401_4FGL_J0612.8+4122_daily_bin1196.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/216775/ft2_4FGL_J0612.8+4122_daily_bin1196.fits
.....................!
real 14.28
user 13.35
sys 0.90

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216775/ft1_filtered_4FGL_J0612.8+4122_daily_bin1196.fits evtable="EVENTS" scfile=/scratch/kocevski/216775/ft2_4FGL_J0612.8+4122_daily_bin1196.fits sctable="SC_DATA" expcube=/scratch/kocevski/216775/ltcube_549331201_549590401_4FGL_J0612.8+4122_daily_bin1196.fits outfile=/scratch/kocevski/216775/expmap_549331201_549590401_4FGL_J0612.8+4122_daily_bin1196.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/216775/ltcube_549331201_549590401_4FGL_J0612.8+4122_daily_bin1196.fits
.....................!
real 193.43
user 187.87
sys 5.14

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/216775/ft1_filtered_4FGL_J0612.8+4122_daily_bin1196.fits scfile=/scratch/kocevski/216775/ft2_4FGL_J0612.8+4122_daily_bin1196.fits outfile=/scratch/kocevski/216775/cmap_549331201_549590401_4FGL_J0612.8+4122_daily_bin1196.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 1.03
user 0.38
sys 0.63

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/216775/ft1_filtered_4FGL_J0612.8+4122_daily_bin1196.fits scfile=/scratch/kocevski/216775/ft2_4FGL_J0612.8+4122_daily_bin1196.fits outfile=/scratch/kocevski/216775/cmap_HighResolution_549331201_549590401_4FGL_J0612.8+4122_daily_bin1196.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 1.04
user 0.40
sys 0.63

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/216775/ft1_filtered_4FGL_J0612.8+4122_daily_bin1196.fits evtable="EVENTS" scfile=/scratch/kocevski/216775/ft2_4FGL_J0612.8+4122_daily_bin1196.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/216775/Model_4FGL_J0612.8+4122_daily_bin1196.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/216775/ft1_filtered_4FGL_J0612.8+4122_daily_bin1196.fits....................!
real 195.45
user 192.93
sys 1.90

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/216775/ft1_filtered_4FGL_J0612.8+4122_daily_bin1196.fits', '/scratch/kocevski/216775/ft2_4FGL_J0612.8+4122_daily_bin1196.fits', expMap='/scratch/kocevski/216775/expmap_549331201_549590401_4FGL_J0612.8+4122_daily_bin1196.fits', expCube='/scratch/kocevski/216775/ltcube_549331201_549590401_4FGL_J0612.8+4122_daily_bin1196.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/216775/Model_4FGL_J0612.8+4122_daily_bin1196.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/216775/ft1_filtered_4FGL_J0612.8+4122_daily_bin1196.fits
Spacecraft file(s): /scratch/kocevski/216775/ft2_4FGL_J0612.8+4122_daily_bin1196.fits
Exposure map: /scratch/kocevski/216775/expmap_549331201_549590401_4FGL_J0612.8+4122_daily_bin1196.fits
Exposure cube: /scratch/kocevski/216775/ltcube_549331201_549590401_4FGL_J0612.8+4122_daily_bin1196.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/216775/Model_4FGL_J0612.8+4122_daily_bin1196.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) = 8253.72752666

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    97.928       1.0000         .10000E-03   10000.    
     2 'norm      '    1.1250       1.0000         .10000E-03   10000.    
     3 'Prefactor '    88.460       1.0000         .10000E-03   10000.    
     4 'norm      '    1.3137       1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.4026       1.0000         .10000E-03   10000.    
     7 'norm      '    8.5473       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.0132       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.347       1.0000         .10000E-03   10000.    
    12 'norm      '    6.3949       1.0000         .10000E-03   10000.    
    13 'Normalizat'    .77703       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0740       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.

 FCN=   8253.719     FROM MIGRAD    STATUS=CONVERGED    228 CALLS     1163 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     97.938        74.782        .10100E-04   -.28043E-03
   2  norm          1.1250        1.3755       -.78003E-07   -.71470E-03
   3  Prefactor     88.468        52.396        .87071E-05   -.28457E-03
   4  norm          1.3160        3.6989       -.63459E-05   -.10031E-02
   5  norm          .10000E-03    1.6234       -.17531E-06** at limit **
   6  norm          3.4026        2.9827        .27753E-06    .12104E-03
   7  norm          8.5482        7.0723        .79045E-06   -.27644E-03
   8  Prefactor     .10000E-03    5.3086       -.14622E-06** at limit **
   9  norm          7.0128        5.5175       -.15685E-06   -.14763E-03
  10  norm          .10000E-03    .69709       -.86423E-07** at limit **
  11  Prefactor     19.345        17.820       -.24867E-05    .21400E-03
  12  norm          6.3946        6.1584       -.13912E-06   -.49391E-04
  13  Normalizat    .77728        .24836        .35258E-05    .20429E-04
  14  Prefactor     1.0739        .73817E-01   -.77178E-06    .60290E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 97.9382
  norm       = 1.12504
  Prefactor  = 88.4682
  norm       = 1.316
  norm       = 0.0001
  norm       = 3.4026
  norm       = 8.54822
  Prefactor  = 0.0001
  norm       = 7.01282
  norm       = 0.0001
  Prefactor  = 19.3454
  norm       = 6.39464
  Normalizat = 0.777276
  Prefactor  = 1.07386
 **********
 **   18 **HESSE 
 **********

 FCN=   8253.719     FROM HESSE     STATUS=OK           162 CALLS     1325 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     97.938        73.555        .40621E-04   -1.3725    
   2  norm          1.1250        1.3498        .11400E-03   -1.5496    
   3  Prefactor     88.468        52.339        .42719E-04   -1.3824    
   4  norm          1.3160        4.1064        .30166E-03   -1.5479    
   5  norm          .10000E-03    1.6463        .11301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4026        2.9858        .14291E-03   -1.5339    
   7  norm          8.5482        7.0592        .13711E-03   -1.5123    
   8  Prefactor     .10000E-03    5.3301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.0128        5.5135        .15149E-03   -1.5178    
  10  norm          .10000E-03    .69769        .74068E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.345        17.779        .91059E-04   -1.4828    
  12  norm          6.3946        6.1531        .15872E-03   -1.5202    
  13  Normalizat    .77728        .25709        .56420E-03   -1.0092    
  14  Prefactor     1.0739        .77656E-01    .14042E-03   -.90306    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.61879e-09
Minuit parameter uncertainties:
  1  73.624
  2  1.34982
  3  52.3666
  4  4.10732
  5  4.02796e-06
  6  2.98588
  7  7.05986
  8  7.47633e-06
  9  5.51388
  10  1.04395e-06
  11  17.7843
  12  6.15368
  13  0.257492
  14  0.077664
Done.

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

Extracting fit parameters...

4FGL J0612.8+4122
   Spectrum: LogParabola
255         norm:  3.403e+00  2.986e+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

GAL_V02
   Spectrum: PowerLaw
561    Prefactor:  1.074e+00  7.766e-02  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.773e-01  2.575e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.13
Ra Dec: 93.222 41.372
Photon Index (Fixed Index): 1.83 +/- 0.00
Photon Flux (Fixed Index): 2.99e-08 +/- 2.62e-08
Energy Flux (Fixed Index): 2.64e-05 +/- 2.32e-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) = 8253.56521034
delta logL = 0.154081287104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8253.56270342
delta logL = 0.156588205957

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2028       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4333       1.0000          .0000       5.0000    
     3 'Normalizat'    .78407       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0739       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.

 FCN=   8253.563     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      203 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2028        2.9833        .56599E-02   -.37622E-02
   2  alpha         1.4332        .58740        .47325       -.47454E-04
   3  Normalizat    .78406        .24259        .12660       -.13593E-03
   4  Prefactor     1.0739        .70006E-01    .38676E-01   -.92698E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.20285
  alpha      = 1.43316
  Normalizat = 0.784062
  Prefactor  = 1.07387
 **********
 **   18 **HESSE 
 **********

 FCN=   8253.563     FROM HESSE     STATUS=OK            29 CALLS      232 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2028        2.9444        .13847E-03   -1.5350    
   2  alpha         1.4332        .64611        .21666E-01   -.44088    
   3  Normalizat    .78406        .25063        .56204E-03   -1.0066    
   4  Prefactor     1.0739        .73077E-01    .14042E-03   -.90306    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.92332e-09
Minuit parameter uncertainties:
  1  2.94452
  2  0.655246
  3  0.251002
  4  0.0730837
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216775': 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) = 8253.5627034
delta logL = 0.156588228116

Extracting fit parameters...

4FGL J0612.8+4122
   Spectrum: LogParabola
255         norm:  3.203e+00  2.945e+00  1.000e-04  1.000e+04 ( 1.000e-12)
256        alpha:  1.433e+00  6.552e-01  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:  1.074e+00  7.308e-02  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.841e-01  2.510e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.43
Ra Dec: 93.222 41.372
Photon Index (Free Index): 1.43 +/- 0.66
Photon Flux (Free Index): 1.94e-08 +/- 2.15e-08
Energy Flux (Free Index): 4.32e-05 +/- 5.61e-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/216775/cmap_HighResolution_549331201_549590401_4FGL_J0612.8+4122_daily_bin1196.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.99e-08', energy_flux2='4.32e-05', photon_flux_error='2.62e-08', dlogl='1.57e-01', energy_flux='2.64e-05', photon_flux2='1.94e-08', job_status='DONE', time_completed='2021-08-24 18:49:45.522271', photon_index_error2='0.66', photon_index2='1.43', ts='5.13', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='5.61e-05', EG='0.78', time_epoch_completed='1629856185.52', return_code='0', job_id='216775', GAL2='1.07', EG2='0.78', return_code2='0', energy_flux_error='2.32e-05', photon_flux_error2='2.15e-08', ts2='5.43', photon_index='1.83' WHERE bin_id='1196' AND source_name='4FGL J0612.8+4122' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 18:49:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 216775: <4FGL_J0612.8+4122_daily_bin1196> in cluster <slac> Done

Job <4FGL_J0612.8+4122_daily_bin1196> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 24 18:35:23 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 18:35:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 18:35:24 2021
Terminated at Tue Aug 24 18:49:46 2021
Results reported at Tue Aug 24 18:49:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0612.8+4122_daily_bin1196 93.2218 41.3717 549331201 549590401 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 :                                   664.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            863 sec.

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

