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


Performing analysis on: 4FGL_J0612.8+4122_daily_bin1334
RA = 93.2218, Dec = 41.3717
tmin = 585100801, tmax = 585360001
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='216991', job_status='RUN', time_executed='2021-08-24 18:37:11.654841', time_epoch_executed='1629855431.65' WHERE source_name='4FGL J0612.8+4122' and cadence='daily' and bin_id='1334'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216991

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216991/ft1_4FGL_J0612.8+4122_daily_bin1334.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216991/ft2_4FGL_J0612.8+4122_daily_bin1334.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216991/ft1_4FGL_J0612.8+4122_daily_bin1334.fits outfile=/scratch/kocevski/216991/ft1_filteredMKT_4FGL_J0612.8+4122_daily_bin1334.fits ra=93.2218 dec=41.3717 rad=12.0 tmin=585100801.0 tmax=585360001.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 8.07
user 2.84
sys 5.09

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/216991/ft2_4FGL_J0612.8+4122_daily_bin1334.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/216991/ft1_filteredMKT_4FGL_J0612.8+4122_daily_bin1334.fits evtable="EVENTS" outfile="/scratch/kocevski/216991/ft1_filtered_4FGL_J0612.8+4122_daily_bin1334.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 5.60
user 0.34
sys 5.04

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/216991/ft1_filtered_4FGL_J0612.8+4122_daily_bin1334.fits" evtable="EVENTS" scfile=/scratch/kocevski/216991/ft2_4FGL_J0612.8+4122_daily_bin1334.fits sctable="SC_DATA" outfile=/scratch/kocevski/216991/ltcube_585100801_585360001_4FGL_J0612.8+4122_daily_bin1334.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/216991/ft2_4FGL_J0612.8+4122_daily_bin1334.fits
.....................!
real 18.29
user 12.43
sys 5.78

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216991/ft1_filtered_4FGL_J0612.8+4122_daily_bin1334.fits evtable="EVENTS" scfile=/scratch/kocevski/216991/ft2_4FGL_J0612.8+4122_daily_bin1334.fits sctable="SC_DATA" expcube=/scratch/kocevski/216991/ltcube_585100801_585360001_4FGL_J0612.8+4122_daily_bin1334.fits outfile=/scratch/kocevski/216991/expmap_585100801_585360001_4FGL_J0612.8+4122_daily_bin1334.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/216991/ltcube_585100801_585360001_4FGL_J0612.8+4122_daily_bin1334.fits
.....................!
real 197.81
user 186.03
sys 11.44

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/216991/ft1_filtered_4FGL_J0612.8+4122_daily_bin1334.fits scfile=/scratch/kocevski/216991/ft2_4FGL_J0612.8+4122_daily_bin1334.fits outfile=/scratch/kocevski/216991/cmap_585100801_585360001_4FGL_J0612.8+4122_daily_bin1334.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 5.29
user 0.38
sys 4.87

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/216991/ft1_filtered_4FGL_J0612.8+4122_daily_bin1334.fits scfile=/scratch/kocevski/216991/ft2_4FGL_J0612.8+4122_daily_bin1334.fits outfile=/scratch/kocevski/216991/cmap_HighResolution_585100801_585360001_4FGL_J0612.8+4122_daily_bin1334.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 5.22
user 0.37
sys 4.82

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.187       1.0000         .10000E-03   10000.    
     2 'norm      '    .53094       1.0000         .10000E-03   10000.    
     3 'Prefactor '    38.298       1.0000         .10000E-03   10000.    
     4 'norm      '    .76995       1.0000         .10000E-03   10000.    
     5 'norm      '    1.4504       1.0000         .10000E-03   10000.    
     6 'norm      '    1.2045       1.0000         .10000E-03   10000.    
     7 'norm      '    2.3525       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .37712       1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    38.124       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.1512       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .94111       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=   9026.980     FROM MIGRAD    STATUS=CONVERGED    256 CALLS     1259 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.185        18.704        .54165E-05    .24896E-04
   2  norm          .53070        1.0158        .54802E-07   -.54510E-04
   3  Prefactor     38.300        22.451       -.30872E-05    .53508E-04
   4  norm          .77013        1.7109        .31047E-06    .48478E-03
   5  norm          1.4501        2.6066       -.46265E-07    .28246E-04
   6  norm          1.2047        3.2031       -.41784E-06    .14176E-04
   7  norm          2.3519        8.3800        .48102E-06    .14566E-04
   8  Prefactor     .10000E-03    19.119       -.15177E-05** at limit **
   9  norm          .36828        56.383       -.26555E-04    .19607E-04
  10  norm          .10000E-03    3.0134       -.42619E-07** at limit **
  11  Prefactor     38.122        40.848        .40371E-05    .64796E-05
  12  norm          .10000E-03    6.9494       -.35947E-07** at limit **
  13  Normalizat    1.1516        .32644        .25862E-05    .13789E-03
  14  Prefactor     .94106        .59929E-01   -.11666E-06    .35535E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.1852
  norm       = 0.530696
  Prefactor  = 38.3
  norm       = 0.770126
  norm       = 1.4501
  norm       = 1.20474
  norm       = 2.35195
  Prefactor  = 0.0001
  norm       = 0.368283
  norm       = 0.0001
  Prefactor  = 38.1218
  norm       = 0.0001
  Normalizat = 1.15158
  Prefactor  = 0.941062
 **********
 **   18 **HESSE 
 **********

 FCN=   9026.980     FROM HESSE     STATUS=OK           170 CALLS     1429 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.185        18.968        .11030E-03   -1.4982    
   2  norm          .53070        1.0793        .13196E-03   -1.5562    
   3  Prefactor     38.300        22.497        .64765E-04   -1.4469    
   4  norm          .77013        1.7254        .18887E-02   -1.5532    
   5  norm          1.4501        2.6049        .20168E-03   -1.5467    
   6  norm          1.2047        3.3467        .28458E-03   -1.5488    
   7  norm          2.3519        8.5139        .26724E-03   -1.5401    
   8  Prefactor     .10000E-03    19.748        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .36828        57.532        .43739E-02   -1.5587    
  10  norm          .10000E-03    3.0181        .16107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     38.122        40.950        .64913E-04   -1.4472    
  12  norm          .10000E-03    6.9565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.1516        .34092        .63163E-03   -.88113    
  14  Prefactor     .94106        .63188E-01    .12635E-03   -.94721    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57322e-10
Minuit parameter uncertainties:
  1  18.9763
  2  1.07938
  3  22.5024
  4  1.72549
  5  2.60514
  6  3.34721
  7  8.51831
  8  3.62273e-05
  9  9.21384
  10  6.77775e-06
  11  40.9801
  12  4.99187e-06
  13  0.341577
  14  0.0631932
Done.

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

Extracting fit parameters...

4FGL J0612.8+4122
   Spectrum: LogParabola
255         norm:  1.205e+00  3.347e+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:  9.411e-01  6.319e-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:  1.152e+00  3.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.16
Ra Dec: 93.222 41.372
Photon Flux Upper Limit: 9.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 8.79e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/216991/likelihoodResults_585100801_585360001_4FGL_J0612.8+4122_daily_bin1334.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) = 9026.94823753
delta logL = 0.0316539908745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9026.94817495
delta logL = 0.0317165746637

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2046       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4274       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1552       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94079       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=   9026.948     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      208 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1890        3.9401        .10326E-01    .10973E-02
   2  alpha         1.4202        1.3731        .47418       -.54143E-04
   3  Normalizat    1.1553        .31520        .14199        .31835E-04
   4  Prefactor     .94079        .57923E-01    .28594E-01   -.11466E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.18903
  alpha      = 1.4202
  Normalizat = 1.15525
  Prefactor  = 0.940794
 **********
 **   18 **HESSE 
 **********

 FCN=   9026.948     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1890        3.0367        .25252E-03   -1.5490    
   2  alpha         1.4202        1.3147        .45677E-01   -.44662    
   3  Normalizat    1.1553        .32698        .63074E-03   -.87997    
   4  Prefactor     .94079        .60499E-01    .12636E-03   -.94730    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84064e-08
Minuit parameter uncertainties:
  1  3.03712
  2  1.4036
  3  0.327553
  4  0.0605036
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216991': 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) = 9026.94815757
delta logL = 0.0317339505236

Extracting fit parameters...

4FGL J0612.8+4122
   Spectrum: LogParabola
255         norm:  1.189e+00  3.037e+00  1.000e-04  1.000e+04 ( 1.000e-12)
256        alpha:  1.420e+00  1.404e+00  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.408e-01  6.050e-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:  1.155e+00  3.276e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
Ra Dec: 93.222 41.372

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/216991/cmap_HighResolution_585100801_585360001_4FGL_J0612.8+4122_daily_bin1334.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.79e-05', job_status='DONE', photon_flux_upper_limit='9.95e-08', time_completed='2021-08-24 18:51:20.079850', job_id='216991', GAL2='0.94', fit_tolerance='1e-08', EG2='1.16', EG='1.15', time_epoch_completed='1629856280.08', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.17e-02', ts2='0.22', photon_index_error='0.00', photon_index='1.83' WHERE bin_id='1334' AND source_name='4FGL J0612.8+4122' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 18:51:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 216991: <4FGL_J0612.8+4122_daily_bin1334> in cluster <slac> Done

Job <4FGL_J0612.8+4122_daily_bin1334> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 24 18:35:39 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 18:35:41 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:41 2021
Terminated at Tue Aug 24 18:51:21 2021
Results reported at Tue Aug 24 18:51:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0612.8+4122_daily_bin1334 93.2218 41.3717 585100801 585360001 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 :                                   908.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   939 sec.
    Turnaround time :                            942 sec.

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

