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


Performing analysis on: 4FGL_J0625.3+4439_daily_bin1599
RA = 96.3288, Dec = 44.6648
tmin = 653788801, tmax = 654048001
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='949248', job_status='RUN', time_executed='2021-09-23 00:12:53.137559', time_epoch_executed='1632381173.14' WHERE source_name='4FGL J0625.3+4439' and cadence='daily' and bin_id='1599'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/949248

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/949248/ft1_4FGL_J0625.3+4439_daily_bin1599.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/949248/ft2_4FGL_J0625.3+4439_daily_bin1599.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/949248/ft1_4FGL_J0625.3+4439_daily_bin1599.fits outfile=/scratch/kocevski/949248/ft1_filteredMKT_4FGL_J0625.3+4439_daily_bin1599.fits ra=96.3288 dec=44.6648 rad=12.0 tmin=653788801.0 tmax=654048001.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.88
user 3.62
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/949248/ft2_4FGL_J0625.3+4439_daily_bin1599.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/949248/ft1_filteredMKT_4FGL_J0625.3+4439_daily_bin1599.fits evtable="EVENTS" outfile="/scratch/kocevski/949248/ft1_filtered_4FGL_J0625.3+4439_daily_bin1599.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.51
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/949248/ft1_filtered_4FGL_J0625.3+4439_daily_bin1599.fits" evtable="EVENTS" scfile=/scratch/kocevski/949248/ft2_4FGL_J0625.3+4439_daily_bin1599.fits sctable="SC_DATA" outfile=/scratch/kocevski/949248/ltcube_653788801_654048001_4FGL_J0625.3+4439_daily_bin1599.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/949248/ft2_4FGL_J0625.3+4439_daily_bin1599.fits
.....................!
real 14.11
user 13.74
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/949248/ft1_filtered_4FGL_J0625.3+4439_daily_bin1599.fits evtable="EVENTS" scfile=/scratch/kocevski/949248/ft2_4FGL_J0625.3+4439_daily_bin1599.fits sctable="SC_DATA" expcube=/scratch/kocevski/949248/ltcube_653788801_654048001_4FGL_J0625.3+4439_daily_bin1599.fits outfile=/scratch/kocevski/949248/expmap_653788801_654048001_4FGL_J0625.3+4439_daily_bin1599.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/949248/ltcube_653788801_654048001_4FGL_J0625.3+4439_daily_bin1599.fits
.....................!
real 192.81
user 187.52
sys 4.91

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/949248/ft1_filtered_4FGL_J0625.3+4439_daily_bin1599.fits scfile=/scratch/kocevski/949248/ft2_4FGL_J0625.3+4439_daily_bin1599.fits outfile=/scratch/kocevski/949248/cmap_653788801_654048001_4FGL_J0625.3+4439_daily_bin1599.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/949248/ft1_filtered_4FGL_J0625.3+4439_daily_bin1599.fits scfile=/scratch/kocevski/949248/ft2_4FGL_J0625.3+4439_daily_bin1599.fits outfile=/scratch/kocevski/949248/cmap_HighResolution_653788801_654048001_4FGL_J0625.3+4439_daily_bin1599.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/949248/ft1_filtered_4FGL_J0625.3+4439_daily_bin1599.fits evtable="EVENTS" scfile=/scratch/kocevski/949248/ft2_4FGL_J0625.3+4439_daily_bin1599.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/949248/Model_4FGL_J0625.3+4439_daily_bin1599.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/949248/ft1_filtered_4FGL_J0625.3+4439_daily_bin1599.fits.....................!
real 292.97
user 291.12
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/949248/ft1_filtered_4FGL_J0625.3+4439_daily_bin1599.fits', '/scratch/kocevski/949248/ft2_4FGL_J0625.3+4439_daily_bin1599.fits', expMap='/scratch/kocevski/949248/expmap_653788801_654048001_4FGL_J0625.3+4439_daily_bin1599.fits', expCube='/scratch/kocevski/949248/ltcube_653788801_654048001_4FGL_J0625.3+4439_daily_bin1599.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/949248/Model_4FGL_J0625.3+4439_daily_bin1599.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/949248/ft1_filtered_4FGL_J0625.3+4439_daily_bin1599.fits
Spacecraft file(s): /scratch/kocevski/949248/ft2_4FGL_J0625.3+4439_daily_bin1599.fits
Exposure map: /scratch/kocevski/949248/expmap_653788801_654048001_4FGL_J0625.3+4439_daily_bin1599.fits
Exposure cube: /scratch/kocevski/949248/ltcube_653788801_654048001_4FGL_J0625.3+4439_daily_bin1599.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/949248/Model_4FGL_J0625.3+4439_daily_bin1599.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) = 12480.2854699

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .93541       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .54243E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10072E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.218       1.0000         .10000E-03   10000.    
     5 'norm      '    .11655E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .82711       1.0000         .10000E-03   10000.    
     7 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.200       1.0000         .10000E-03   10000.    
     9 'norm      '    .10927E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    32.744       1.0000         .10000E-03   10000.    
    12 'norm      '    .14277E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .44320E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .15169E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0342       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0265       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12480.29     FROM MIGRAD    STATUS=CONVERGED    352 CALLS     1589 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .93600        .92577        .16355E-06   -.14332E-02
   2  Prefactor     .10000E-03    11.998        .97662E-06** at limit **
   3  norm          .10000E-03    .42067        .14689E-06** at limit **
   4  Prefactor     10.358        59.148        .22001E-03    .34294E-04
   5  norm          .10000E-03    1.2490        .87779E-07** at limit **
   6  norm          .82694        2.2820       -.53267E-06   -.21050E-02
   7  norm          .10000E-03    1.6150        .15528E-06** at limit **
   8  Prefactor     19.193        9.3710       -.11255E-05   -.12016E-03
   9  norm          .10000E-03    .99580        .24074E-07** at limit **
  10  norm          .10000E-03    2.1203        .17168E-05** at limit **
  11  Prefactor     32.650        29.233        .29640E-04   -.10949E-03
  12  norm          .10000E-03    2.0941       -.17397E-05** at limit **
  13  Prefactor     .10000E-03    2.3541        .12171E-05** at limit **
  14  Prefactor     .10000E-03    5.2033        .13980E-06** at limit **
  15  norm          .10000E-03    2.3222        .73481E-07** at limit **
  16  Normalizat    1.0342        .20104       -.16348E-04   -.20932E-03
  17  Prefactor     1.0265        .56642E-01   -.21126E-06   -.85720E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.936
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.3583
  norm       = 0.0001
  norm       = 0.826936
  norm       = 0.0001
  Prefactor  = 19.193
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 32.6496
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.03421
  Prefactor  = 1.02647
 **********
 **   18 **HESSE 
 **********

 FCN=   12480.29     FROM HESSE     STATUS=OK           217 CALLS     1806 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .93600        .90060        .10194E-03   -1.5514    
   2  Prefactor     .10000E-03    12.123        .21117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .42577        .70736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.358        58.733        .12535E-03   -1.5064    
   5  norm          .10000E-03    1.2715        .12188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .82694        2.2432        .27165E-03   -1.5526    
   7  norm          .10000E-03    1.6250        .13864E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     19.193        9.3717        .91406E-04   -1.4831    
   9  norm          .10000E-03    .99926        .10886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.1538        .15868E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     32.650        29.223        .70026E-04   -1.4565    
  12  norm          .10000E-03    2.1522        .31555E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.7835        .32986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.2096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.3282        .16624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0342        .21026        .47462E-03   -.91893    
  17  Prefactor     1.0265        .60112E-01    .13749E-03   -.91852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77681e-09
Minuit parameter uncertainties:
  1  0.90061
  2  0.000116468
  3  6.63508e-06
  4  49.4043
  5  1.05003e-05
  6  2.24344
  7  1.4194e-05
  8  9.37239
  9  6.61251e-06
  10  4.81266e-05
  11  29.2361
  12  3.11907e-05
  13  0.00027619
  14  2.65264e-05
  15  1.13986e-05
  16  0.210431
  17  0.0601157
Done.

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

Extracting fit parameters...

4FGL J0625.3+4439
   Spectrum: PowerLaw
249    Prefactor:  1.919e+01  9.372e+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:  1.026e+00  6.012e-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.034e+00  2.104e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.81
Ra Dec: 96.329 44.665
Photon Index (Fixed Index): 2.09 +/- 0.00
Photon Flux (Fixed Index): 8.21e-08 +/- 4.01e-08
Energy Flux (Fixed Index): 4.57e-05 +/- 2.23e-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) = 12480.1949695
delta logL = 0.0901697944937

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12480.17403
delta logL = 0.111109282685

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.687       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9056       1.0000          .0000       10.000    
     3 'Normalizat'    1.0513       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0248       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12480.17     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      304 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.690        11.894        .86010E-04   -.13482E-04
   2  Index         1.9049        .40608        .67296E-02    .20813E-04
   3  Normalizat    1.0515        .20833        .47131E-03    .48243E-04
   4  Prefactor     1.0248        .59560E-01    .13761E-03   -.12838E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.6901
  Index      = 1.90492
  Normalizat = 1.0515
  Prefactor  = 1.02477
 **********
 **   18 **HESSE 
 **********

 FCN=   12480.17     FROM HESSE     STATUS=OK            25 CALLS      329 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.690        11.735        .34404E-05   -1.4776    
   2  Index         1.9049        .40018        .26919E-03   -.66749    
   3  Normalizat    1.0515        .20822        .18852E-04   -.91324    
   4  Prefactor     1.0248        .59571E-01    .55044E-05   -.91908    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98029e-11
Minuit parameter uncertainties:
  1  11.7361
  2  0.400878
  3  0.20838
  4  0.059575
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/949248': 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) = 12480.174028
delta logL = 0.111111281245

Extracting fit parameters...

4FGL J0625.3+4439
   Spectrum: PowerLaw
249    Prefactor:  2.169e+01  1.174e+01  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  1.905e+00  4.009e-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:  1.025e+00  5.957e-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.052e+00  2.084e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.00
Ra Dec: 96.329 44.665
Photon Index (Free Index): 1.90 +/- 0.40
Photon Flux (Free Index): 6.44e-08 +/- 4.99e-08
Energy Flux (Free Index): 5.70e-05 +/- 4.18e-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/949248/cmap_HighResolution_653788801_654048001_4FGL_J0625.3+4439_daily_bin1599.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.21e-08', energy_flux2='5.70e-05', photon_flux_error='4.01e-08', dlogl='1.11e-01', energy_flux='4.57e-05', photon_flux2='6.44e-08', job_status='DONE', time_completed='2021-09-23 00:28:16.508312', photon_index_error2='0.40', photon_index2='1.90', ts='15.81', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='4.18e-05', EG='1.03', time_epoch_completed='1632382096.51', return_code='0', job_id='949248', GAL2='1.02', EG2='1.05', return_code2='0', energy_flux_error='2.23e-05', photon_flux_error2='4.99e-08', ts2='16.00', photon_index='2.09' WHERE bin_id='1599' AND source_name='4FGL J0625.3+4439' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 00:28:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 949248: <4FGL_J0625.3+4439_daily_bin1599> in cluster <slac> Done

Job <4FGL_J0625.3+4439_daily_bin1599> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 23 00:11:45 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 00:12:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 00:12:36 2021
Terminated at Thu Sep 23 00:28:17 2021
Results reported at Thu Sep 23 00:28:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0625.3+4439_daily_bin1599 96.3288 44.6648 653788801 654048001 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 :                                   922.25 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             382.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            992 sec.

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

