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


Performing analysis on: 4FGL_J0612.8+4122_daily_bin1583
RA = 93.2218, Dec = 41.3717
tmin = 649641601, tmax = 649900801
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='218552', job_status='RUN', time_executed='2021-08-24 18:45:12.675167', time_epoch_executed='1629855912.68' WHERE source_name='4FGL J0612.8+4122' and cadence='daily' and bin_id='1583'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218552

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218552/ft1_4FGL_J0612.8+4122_daily_bin1583.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218552/ft2_4FGL_J0612.8+4122_daily_bin1583.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218552/ft1_4FGL_J0612.8+4122_daily_bin1583.fits outfile=/scratch/kocevski/218552/ft1_filteredMKT_4FGL_J0612.8+4122_daily_bin1583.fits ra=93.2218 dec=41.3717 rad=12.0 tmin=649641601.0 tmax=649900801.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.70
user 2.35
sys 3.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/218552/ft2_4FGL_J0612.8+4122_daily_bin1583.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/218552/ft1_filteredMKT_4FGL_J0612.8+4122_daily_bin1583.fits evtable="EVENTS" outfile="/scratch/kocevski/218552/ft1_filtered_4FGL_J0612.8+4122_daily_bin1583.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 4.69
user 0.33
sys 3.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218552/ft1_filtered_4FGL_J0612.8+4122_daily_bin1583.fits" evtable="EVENTS" scfile=/scratch/kocevski/218552/ft2_4FGL_J0612.8+4122_daily_bin1583.fits sctable="SC_DATA" outfile=/scratch/kocevski/218552/ltcube_649641601_649900801_4FGL_J0612.8+4122_daily_bin1583.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/218552/ft2_4FGL_J0612.8+4122_daily_bin1583.fits
.....................!
real 16.44
user 12.60
sys 3.73

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218552/ft1_filtered_4FGL_J0612.8+4122_daily_bin1583.fits evtable="EVENTS" scfile=/scratch/kocevski/218552/ft2_4FGL_J0612.8+4122_daily_bin1583.fits sctable="SC_DATA" expcube=/scratch/kocevski/218552/ltcube_649641601_649900801_4FGL_J0612.8+4122_daily_bin1583.fits outfile=/scratch/kocevski/218552/expmap_649641601_649900801_4FGL_J0612.8+4122_daily_bin1583.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/218552/ltcube_649641601_649900801_4FGL_J0612.8+4122_daily_bin1583.fits
.....................!
real 194.54
user 185.62
sys 8.42

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/218552/ft1_filtered_4FGL_J0612.8+4122_daily_bin1583.fits scfile=/scratch/kocevski/218552/ft2_4FGL_J0612.8+4122_daily_bin1583.fits outfile=/scratch/kocevski/218552/cmap_649641601_649900801_4FGL_J0612.8+4122_daily_bin1583.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 3.48
user 0.38
sys 3.03

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/218552/ft1_filtered_4FGL_J0612.8+4122_daily_bin1583.fits scfile=/scratch/kocevski/218552/ft2_4FGL_J0612.8+4122_daily_bin1583.fits outfile=/scratch/kocevski/218552/cmap_HighResolution_649641601_649900801_4FGL_J0612.8+4122_daily_bin1583.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 3.51
user 0.39
sys 3.10

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.6518       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.8566       1.0000         .10000E-03   10000.    
     5 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.6330       1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    10000.       1.0000         .10000E-03   10000.    
    13 'Normalizat'    .37150       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .97026       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=   5558.627     FROM MIGRAD    STATUS=CONVERGED    265 CALLS     1177 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.8094        .27888E-06** at limit **
   2  norm          2.6513        1.7142        .10910E-07   -.89309E-04
   3  Prefactor     .10000E-03    13.626        .16596E-06** at limit **
   4  norm          1.8549        3.8571       -.38989E-06   -.63051E-03
   5  norm          .10000E-03    4.1395        .90716E-08** at limit **
   6  norm          7.6328        6.9501        .65791E-08    .46078E-04
   7  norm          .10000E-03    5.1462        .41244E-07** at limit **
   8  Prefactor     .10000E-03    5.7313       -.28978E-06** at limit **
   9  norm          .10000E-03    265.68        .18921E-03** at limit **
  10  norm          .10000E-03    11.221       -.89126E-07** at limit **
  11  Prefactor     .10000E-03    47.250       -.11272E-05** at limit **
  12  norm          10000.        404.61        .38505E-03** at limit **
  13  Normalizat    .37236        .71939       -.61382E-05   -.68967E-04
  14  Prefactor     .97014        .10904        .60113E-06    .29149E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.65133
  Prefactor  = 0.0001
  norm       = 1.85488
  norm       = 0.0001
  norm       = 7.63278
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10000
  Normalizat = 0.372363
  Prefactor  = 0.970139
 **********
 **   18 **HESSE 
 **********

 FCN=   5558.627     FROM HESSE     STATUS=OK           154 CALLS     1331 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.8202        .17550E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.6513        1.6623        .72576E-04   -1.5382    
   3  Prefactor     .10000E-03    13.710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.8549        3.6793        .18894E-03   -1.5436    
   5  norm          .10000E-03    4.2217        .14811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.6328        6.9005        .14515E-03   -1.5155    
   7  norm          .10000E-03    5.1713        .16516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.7315        .17433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    265.59        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    11.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    47.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          10000.        404.04        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    .37236        .50375        .11726E-02   -1.1875    
  14  Prefactor     .97014        .77425E-01    .11670E-03   -.93732    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.29432e-10
Minuit parameter uncertainties:
  1  5.03341e-07
  2  1.66232
  3  4.52003e-06
  4  3.67975
  5  2.63229e-06
  6  6.90118
  7  2.11296e-06
  8  1.08978e-06
  9  2.38887e-05
  10  1.21541e-06
  11  3.3435e-06
  12  2.87054e-05
  13  0.510062
  14  0.0774343
Done.

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

Extracting fit parameters...

4FGL J0612.8+4122
   Spectrum: LogParabola
255         norm:  7.633e+00  6.901e+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.701e-01  7.743e-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:  3.724e-01  5.101e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.13
Ra Dec: 93.222 41.372
Photon Index (Fixed Index): 1.83 +/- 0.00
Photon Flux (Fixed Index): 6.70e-08 +/- 6.06e-08
Energy Flux (Fixed Index): 5.92e-05 +/- 5.35e-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) = 5558.17406377
delta logL = 0.452795212948

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5558.15174735
delta logL = 0.475111628936

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0755       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5932       1.0000          .0000       5.0000    
     3 'Normalizat'    .26074       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97814       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=   5558.152     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      279 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0728        102.23        .40722E-02    .13688E-03
   2  alpha         2.5923        3.7073        .24401        .61712E-04
   3  Normalizat    .25998        .34016        .32068        .69386E-04
   4  Prefactor     .97829        .34504E-01    .26282E-01   -.55342E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.07278
  alpha      = 2.59226
  Normalizat = 0.259978
  Prefactor  = 0.978289
 **********
 **   18 **HESSE 
 **********

 FCN=   5558.152     FROM HESSE     STATUS=OK            35 CALLS      314 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0728        6.5192        .12422E-03   -1.5215    
   2  alpha         2.5923        .77688        .12039E-01    .36913E-01
   3  Normalizat    .25998        .52582        .13476E-01   -1.2531    
   4  Prefactor     .97829        .80708E-01    .11617E-03   -.93457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09705e-11
Minuit parameter uncertainties:
  1  6.51991
  2  0.789982
  3  0.536323
  4  0.0807182
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218552': 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) = 5558.15174191
delta logL = 0.47511706722

Extracting fit parameters...

4FGL J0612.8+4122
   Spectrum: LogParabola
255         norm:  6.073e+00  6.520e+00  1.000e-04  1.000e+04 ( 1.000e-12)
256        alpha:  2.592e+00  7.900e-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:  9.783e-01  8.072e-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:  2.600e-01  5.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.23
Ra Dec: 93.222 41.372
Photon Index (Free Index): 2.59 +/- 0.79
Photon Flux (Free Index): 1.70e-07 +/- 1.58e-07
Energy Flux (Free Index): 5.10e-05 +/- 3.68e-05

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/218552/cmap_HighResolution_649641601_649900801_4FGL_J0612.8+4122_daily_bin1583.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.70e-08', energy_flux2='5.10e-05', photon_flux_error='6.06e-08', dlogl='4.75e-01', energy_flux='5.92e-05', photon_flux2='1.70e-07', job_status='DONE', time_completed='2021-08-24 18:55:19.323101', photon_index_error2='0.79', photon_index2='2.59', ts='4.13', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='3.68e-05', EG='0.37', time_epoch_completed='1629856519.32', return_code='0', job_id='218552', GAL2='0.98', EG2='0.26', return_code2='0', energy_flux_error='5.35e-05', photon_flux_error2='1.58e-07', ts2='5.23', photon_index='1.83' WHERE bin_id='1583' AND source_name='4FGL J0612.8+4122' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 18:55:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 218552: <4FGL_J0612.8+4122_daily_bin1583> in cluster <slac> Done

Job <4FGL_J0612.8+4122_daily_bin1583> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 24 18:40:37 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 18:40:40 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:40:40 2021
Terminated at Tue Aug 24 18:55:20 2021
Results reported at Tue Aug 24 18:55:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0612.8+4122_daily_bin1583 93.2218 41.3717 649641601 649900801 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 :                                   644.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            883 sec.

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

