/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 57 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 = 7659
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0625.3+4439_daily_bin6
RA = 96.3288, Dec = 44.6648
tmin = 240883201, tmax = 241142401
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='354254', job_status='RUN', time_executed='2021-08-25 00:21:50.878536', time_epoch_executed='1629876110.88' WHERE source_name='4FGL J0625.3+4439' and cadence='daily' and bin_id='6'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/354254

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/354254/ft1_4FGL_J0625.3+4439_daily_bin6.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/354254/ft2_4FGL_J0625.3+4439_daily_bin6.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/354254/ft1_4FGL_J0625.3+4439_daily_bin6.fits outfile=/scratch/kocevski/354254/ft1_filteredMKT_4FGL_J0625.3+4439_daily_bin6.fits ra=96.3288 dec=44.6648 rad=12.0 tmin=240883201.0 tmax=241142401.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 2.02
user 1.34
sys 0.56

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/354254/ft2_4FGL_J0625.3+4439_daily_bin6.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/354254/ft2_4FGL_J0625.3+4439_daily_bin6.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/354254/ft1_filteredMKT_4FGL_J0625.3+4439_daily_bin6.fits evtable="EVENTS" outfile="/scratch/kocevski/354254/ft1_filtered_4FGL_J0625.3+4439_daily_bin6.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.90
user 0.31
sys 0.57

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/354254/ft1_filtered_4FGL_J0625.3+4439_daily_bin6.fits" evtable="EVENTS" scfile=/scratch/kocevski/354254/ft2_4FGL_J0625.3+4439_daily_bin6.fits sctable="SC_DATA" outfile=/scratch/kocevski/354254/ltcube_240883201_241142401_4FGL_J0625.3+4439_daily_bin6.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/354254/ft2_4FGL_J0625.3+4439_daily_bin6.fits
.....................!
real 17.48
user 16.62
sys 0.79

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/354254/ft1_filtered_4FGL_J0625.3+4439_daily_bin6.fits evtable="EVENTS" scfile=/scratch/kocevski/354254/ft2_4FGL_J0625.3+4439_daily_bin6.fits sctable="SC_DATA" expcube=/scratch/kocevski/354254/ltcube_240883201_241142401_4FGL_J0625.3+4439_daily_bin6.fits outfile=/scratch/kocevski/354254/expmap_240883201_241142401_4FGL_J0625.3+4439_daily_bin6.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/354254/ltcube_240883201_241142401_4FGL_J0625.3+4439_daily_bin6.fits
.....................!
real 190.79
user 185.05
sys 5.07

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 G150.3+4.5 in ROI with RadialDisk spatial model.
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.
Added 166 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 J0625.3+4439 @ 96.3288 44.6648

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/354254/ft1_filtered_4FGL_J0625.3+4439_daily_bin6.fits scfile=/scratch/kocevski/354254/ft2_4FGL_J0625.3+4439_daily_bin6.fits outfile=/scratch/kocevski/354254/cmap_240883201_241142401_4FGL_J0625.3+4439_daily_bin6.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=96.3288 yref=44.6648 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.93
user 0.37
sys 0.54

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/354254/ft1_filtered_4FGL_J0625.3+4439_daily_bin6.fits scfile=/scratch/kocevski/354254/ft2_4FGL_J0625.3+4439_daily_bin6.fits outfile=/scratch/kocevski/354254/cmap_HighResolution_240883201_241142401_4FGL_J0625.3+4439_daily_bin6.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=96.3288 yref=44.6648 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.93
user 0.39
sys 0.52

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/354254/ft1_filtered_4FGL_J0625.3+4439_daily_bin6.fits evtable="EVENTS" scfile=/scratch/kocevski/354254/ft2_4FGL_J0625.3+4439_daily_bin6.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/354254/Model_4FGL_J0625.3+4439_daily_bin6.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 G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source S 147
Working on...
/scratch/kocevski/354254/ft1_filtered_4FGL_J0625.3+4439_daily_bin6.fits.....................!
real 242.44
user 240.03
sys 1.74

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/354254/ft1_filtered_4FGL_J0625.3+4439_daily_bin6.fits', '/scratch/kocevski/354254/ft2_4FGL_J0625.3+4439_daily_bin6.fits', expMap='/scratch/kocevski/354254/expmap_240883201_241142401_4FGL_J0625.3+4439_daily_bin6.fits', expCube='/scratch/kocevski/354254/ltcube_240883201_241142401_4FGL_J0625.3+4439_daily_bin6.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/354254/Model_4FGL_J0625.3+4439_daily_bin6.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0625.3+4439'

4FGL J0625.3+4439
   Spectrum: PowerLaw
249    Prefactor:  2.347e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.093e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.886e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/354254/ft1_filtered_4FGL_J0625.3+4439_daily_bin6.fits
Spacecraft file(s): /scratch/kocevski/354254/ft2_4FGL_J0625.3+4439_daily_bin6.fits
Exposure map: /scratch/kocevski/354254/expmap_240883201_241142401_4FGL_J0625.3+4439_daily_bin6.fits
Exposure cube: /scratch/kocevski/354254/ltcube_240883201_241142401_4FGL_J0625.3+4439_daily_bin6.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/354254/Model_4FGL_J0625.3+4439_daily_bin6.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) = 11002.7446638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5088       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10753E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.8489       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10545E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    3.7678       1.0000         .10000E-03   10000.    
     7 'norm      '    7.3671       1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.236       1.0000         .10000E-03   10000.    
     9 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    11.261       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.7378       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.0136       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.3222       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4611       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .89903       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11002.70     FROM MIGRAD    STATUS=CONVERGED     95 CALLS     1169 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5088        1.0581       -.11016E-06   -.15606E-02
   2  Prefactor     .10003E-03    49.725        .77988E-05** at limit **
   3  norm          2.8485        2.1447        .25736E-06    .45282E-03
   4  Prefactor     .10000E-03    36.242       -.30969E-05** at limit **
   5  norm          .10034E-03    451.86       -.29468E-04** at limit **
   6  norm          3.7678        2.5015        .19691E-06    .33846E-03
   7  norm          7.3671        5.1970        .18818E-05    .14603E-02
   8  Prefactor     18.236        1.4292       -.83559E-06   -.34245E-03
   9  norm          .10000E-03    4.8320       -.11315E-05** at limit **
  10  norm          11.261        5.8789        .89513E-06   -.11661E-02
  11  Prefactor     .10000E-03    12.063       -.75403E-06** at limit **
  12  norm          6.7391        2.6438       -.31787E-05    .27188E-02
  13  Prefactor     7.0128        6.8837        .91853E-05    .45529E-03
  14  Prefactor     .10000E-03    9.5112        .52077E-06** at limit **
  15  norm          9.3221        4.6955        .53688E-05    .14617E-03
  16  Normalizat    1.4612        .24235       -.68945E-05   -.17239E-03
  17  Prefactor     .89903        .64568E-01    .69268E-06   -.29371E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.5088
  Prefactor  = 0.00010003
  norm       = 2.84846
  Prefactor  = 0.0001
  norm       = 0.00010034
  norm       = 3.76783
  norm       = 7.36713
  Prefactor  = 18.2364
  norm       = 0.000100001
  norm       = 11.2611
  Prefactor  = 0.0001
  norm       = 6.73906
  Prefactor  = 7.01281
  Prefactor  = 0.0001
  norm       = 9.32214
  Normalizat = 1.46115
  Prefactor  = 0.89903
 **********
 **   18 **HESSE 
 **********

 FCN=   11002.70     FROM HESSE     STATUS=OK           271 CALLS     1440 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5088        1.0676        .87071E-02   -1.5462    
   2  Prefactor     .10003E-03    49.041        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.8485        2.1527        .60221E-02   -1.5370    
   4  Prefactor     .10000E-03    36.244        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10034E-03    1.2673        .65445E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.7678        2.5026        .51996E-02   -1.5320    
   7  norm          7.3671        5.2309        .36942E-02   -1.5165    
   8  Prefactor     18.236        8.9338        .23448E-02   -1.4854    
   9  norm          .10000E-03    4.7898        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.261        5.9044        .29846E-02   -1.5037    
  11  Prefactor     .10000E-03    12.065        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.7391        8.4940        .38645E-02   -1.5189    
  13  Prefactor     7.0128        9.1728        .37870E-02   -1.5178    
  14  Prefactor     .10000E-03    9.5115        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.3221        10.364        .32815E-02   -1.5097    
  16  Normalizat    1.4612        .23141        .10062       -.78876    
  17  Prefactor     .89903        .59942E-01    .33330E-01   -.96175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14294e-08
Minuit parameter uncertainties:
  1  1.06759
  2  0.00242634
  3  2.1528
  4  0.000115387
  5  0.00131198
  6  2.50262
  7  5.23127
  8  8.93443
  9  0.000132015
  10  5.9047
  11  3.39924e-05
  12  8.49557
  13  9.17468
  14  4.53234e-05
  15  10.3655
  16  0.231576
  17  0.0599464
Done.

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

Extracting fit parameters...

4FGL J0625.3+4439
   Spectrum: PowerLaw
249    Prefactor:  1.824e+01  8.934e+00  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.093e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  1.886e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  8.990e-01  5.995e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.461e+00  2.316e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.23
Ra Dec: 96.329 44.665
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 7.80e-08 +/- 3.82e-08
Energy Flux (Fixed Index): 4.35e-05 +/- 2.13e-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) = 11002.3712594
delta logL = 0.329310185087

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11002.3712361
delta logL = 0.329333483125

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.305       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7890       1.0000          .0000       10.000    
     3 'Normalizat'    1.4823       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89674       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5600E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11002.37     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      272 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.290        291.59        .20743E-02   -.10073E-04
   2  Index         1.7884        5.8438        .15182        .89218E-04
   3  Normalizat    1.4824        .27108        .10004       -.95649E-05
   4  Prefactor     .89674        .41091E-01    .33369E-01   -.11725E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.2905
  Index      = 1.7884
  Normalizat = 1.48243
  Prefactor  = 0.896744
 **********
 **   18 **HESSE 
 **********

 FCN=   11002.37     FROM HESSE     STATUS=OK            33 CALLS      305 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.290        12.561        .82974E-04   -1.4742    
   2  Index         1.7884        .36498        .77024E-02   -.69752    
   3  Normalizat    1.4824        .23429        .44320E-03   -.78273    
   4  Prefactor     .89674        .62667E-01    .14745E-03   -.96255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.07996e-12
Minuit parameter uncertainties:
  1  12.562
  2  0.365531
  3  0.234458
  4  0.0626721
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/354254': 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) = 11002.3712332
delta logL = 0.329336393563

Extracting fit parameters...

4FGL J0625.3+4439
   Spectrum: PowerLaw
249    Prefactor:  2.329e+01  1.256e+01  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  1.788e+00  3.655e-01  0.000e+00  1.000e+01 (-1.000e+00)
251        Scale:  1.886e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  8.967e-01  6.267e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.482e+00  2.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.87
Ra Dec: 96.329 44.665
Photon Index (Free Index): 1.79 +/- 0.37
Photon Flux (Free Index): 5.62e-08 +/- 3.75e-08
Energy Flux (Free Index): 6.97e-05 +/- 5.86e-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/354254/cmap_HighResolution_240883201_241142401_4FGL_J0625.3+4439_daily_bin6.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.80e-08', energy_flux2='6.97e-05', photon_flux_error='3.82e-08', dlogl='3.29e-01', energy_flux='4.35e-05', photon_flux2='5.62e-08', job_status='DONE', time_completed='2021-08-25 00:34:47.692206', photon_index_error2='0.37', photon_index2='1.79', ts='14.23', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='5.86e-05', EG='1.46', time_epoch_completed='1629876887.69', return_code='0', job_id='354254', GAL2='0.90', EG2='1.48', return_code2='0', energy_flux_error='2.13e-05', photon_flux_error2='3.75e-08', ts2='14.87', photon_index='2.09' WHERE bin_id='6' AND source_name='4FGL J0625.3+4439' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 25 00:34:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 354254: <4FGL_J0625.3+4439_daily_bin6> in cluster <slac> Done

Job <4FGL_J0625.3+4439_daily_bin6> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Aug 25 00:20:36 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 25 00:20:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Aug 25 00:20:37 2021
Terminated at Wed Aug 25 00:34:48 2021
Results reported at Wed Aug 25 00:34:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0625.3+4439_daily_bin6 96.3288 44.6648 240883201 241142401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0625.3+4439 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   781.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             386.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            852 sec.

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

