aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 64 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 = 7544
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1625.7+4134_daily_bin1689
RA = 246.447, Dec = 41.5709
tmin = 677116801, tmax = 677376001
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='977510', job_status='RUN', time_executed='2022-06-20 00:50:51.598310', time_epoch_executed='1655711451.6' WHERE source_name='4FGL J1625.7+4134' and cadence='daily' and bin_id='1689'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/977510

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/977510/ft1_4FGL_J1625.7+4134_daily_bin1689.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/977510/ft2_4FGL_J1625.7+4134_daily_bin1689.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/977510/ft1_4FGL_J1625.7+4134_daily_bin1689.fits outfile=/scratch/kocevski/977510/ft1_filteredMKT_4FGL_J1625.7+4134_daily_bin1689.fits ra=246.447 dec=41.5709 rad=12.0 tmin=677116801.0 tmax=677376001.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.74
user 2.52
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/977510/ft2_4FGL_J1625.7+4134_daily_bin1689.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/977510/ft2_4FGL_J1625.7+4134_daily_bin1689.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/977510/ft1_filteredMKT_4FGL_J1625.7+4134_daily_bin1689.fits evtable="EVENTS" outfile="/scratch/kocevski/977510/ft1_filtered_4FGL_J1625.7+4134_daily_bin1689.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.53
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 1024

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/977510/ft1_filtered_4FGL_J1625.7+4134_daily_bin1689.fits" evtable="EVENTS" scfile=/scratch/kocevski/977510/ft2_4FGL_J1625.7+4134_daily_bin1689.fits sctable="SC_DATA" outfile=/scratch/kocevski/977510/ltcube_677116801_677376001_4FGL_J1625.7+4134_daily_bin1689.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/977510/ft2_4FGL_J1625.7+4134_daily_bin1689.fits
.....................!
real 14.73
user 14.34
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/977510/ft1_filtered_4FGL_J1625.7+4134_daily_bin1689.fits evtable="EVENTS" scfile=/scratch/kocevski/977510/ft2_4FGL_J1625.7+4134_daily_bin1689.fits sctable="SC_DATA" expcube=/scratch/kocevski/977510/ltcube_677116801_677376001_4FGL_J1625.7+4134_daily_bin1689.fits outfile=/scratch/kocevski/977510/expmap_677116801_677376001_4FGL_J1625.7+4134_daily_bin1689.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/977510/ltcube_677116801_677376001_4FGL_J1625.7+4134_daily_bin1689.fits
.....................!
real 195.86
user 189.63
sys 5.86

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
Added 211 point sources and 0 extended sources

Setting source of interest to:
4FGL J1625.7+4134 @ 246.447 41.5709

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/977510/ft1_filtered_4FGL_J1625.7+4134_daily_bin1689.fits scfile=/scratch/kocevski/977510/ft2_4FGL_J1625.7+4134_daily_bin1689.fits outfile=/scratch/kocevski/977510/cmap_677116801_677376001_4FGL_J1625.7+4134_daily_bin1689.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=246.447 yref=41.5709 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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/977510/ft1_filtered_4FGL_J1625.7+4134_daily_bin1689.fits scfile=/scratch/kocevski/977510/ft2_4FGL_J1625.7+4134_daily_bin1689.fits outfile=/scratch/kocevski/977510/cmap_HighResolution_677116801_677376001_4FGL_J1625.7+4134_daily_bin1689.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=246.447 yref=41.5709 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.58
user 0.38
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/977510/ft1_filtered_4FGL_J1625.7+4134_daily_bin1689.fits evtable="EVENTS" scfile=/scratch/kocevski/977510/ft2_4FGL_J1625.7+4134_daily_bin1689.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/977510/Model_4FGL_J1625.7+4134_daily_bin1689.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
Working on...
/scratch/kocevski/977510/ft1_filtered_4FGL_J1625.7+4134_daily_bin1689.fits.....................!
real 79.69
user 78.15
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/977510/ft1_filtered_4FGL_J1625.7+4134_daily_bin1689.fits', '/scratch/kocevski/977510/ft2_4FGL_J1625.7+4134_daily_bin1689.fits', expMap='/scratch/kocevski/977510/expmap_677116801_677376001_4FGL_J1625.7+4134_daily_bin1689.fits', expCube='/scratch/kocevski/977510/ltcube_677116801_677376001_4FGL_J1625.7+4134_daily_bin1689.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/977510/Model_4FGL_J1625.7+4134_daily_bin1689.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1625.7+4134'

4FGL J1625.7+4134
   Spectrum: PowerLaw
288    Prefactor:  1.253e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.540e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  7.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/977510/ft1_filtered_4FGL_J1625.7+4134_daily_bin1689.fits
Spacecraft file(s): /scratch/kocevski/977510/ft2_4FGL_J1625.7+4134_daily_bin1689.fits
Exposure map: /scratch/kocevski/977510/expmap_677116801_677376001_4FGL_J1625.7+4134_daily_bin1689.fits
Exposure cube: /scratch/kocevski/977510/ltcube_677116801_677376001_4FGL_J1625.7+4134_daily_bin1689.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/977510/Model_4FGL_J1625.7+4134_daily_bin1689.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) = 11126.8667466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.831       1.0000         .10000E-03   10000.    
     3 'norm      '    14.087       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.357       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .21675E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.0734       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.0680       1.0000         .10000E-03   10000.    
    11 'norm      '    4.9039       1.0000         .10000E-03   10000.    
    12 'norm      '    .43464E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .42709E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.3990       1.0000         .10000E-03   10000.    
    16 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.6353       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .88786       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.8791       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .35998E-02   1.0000         .10000E-03   10000.    
    22 'norm      '    3.4475       1.0000         .10000E-03   10000.    
    23 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .98996       1.0000         .10000E-03   10000.    
    27 'norm      '    8.1842       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.3285       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .69996       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11126.84     FROM MIGRAD    STATUS=CONVERGED    772 CALLS     3856 TOTAL
                     EDM=   .32E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    15.093         .0000    ** at limit **
   2  Prefactor     12.823        25.460         .0000        .10343E-02
   3  norm          14.084        18.893         .0000       -.12868E-03
   4  Prefactor     .10000E-03    10.450         .0000    ** at limit **
   5  Prefactor     10.345        28.320         .0000        .18257E-02
   6  Prefactor     .10000E-03    1.3423         .0000    ** at limit **
   7  Prefactor     .10000E-03    1.7818         .0000    ** at limit **
   8  Prefactor     .10003E-03    12.091         .0000    ** at limit **
   9  Prefactor     3.0721        3.9730         .0000        .13915E-02
  10  Prefactor     3.0674        2.6767         .0000        .78580E-03
  11  norm          4.9104        14.812         .0000        .30766E-03
  12  norm          .43512E-01    .73213E-01     .0000        .62956E-02
  13  norm          .10000E-03    2.9724         .0000    ** at limit **
  14  Prefactor     .10585E-03    5.5502         .0000    ** at limit **
  15  Prefactor     4.3980        3.3527         .0000        .19238E-02
  16  norm          .10180E-03    79.753         .0000    ** at limit **
  17  Prefactor     6.6346        2.0202         .0000        .25503E-03
  18  Prefactor     .88824        1.6601         .0000        .20201E-02
  19  Prefactor     1.8807        2.2298         .0000        .11124E-02
  20  Prefactor     .10000E-03    .97796         .0000    ** at limit **
  21  Prefactor     .10041E-03    4.0108         .0000    ** at limit **
  22  norm          3.4475        1.3742         .0000        .12670E-03
  23  norm          .10000E-03    .17110         .0000    ** at limit **
  24  Prefactor     .10000E-03    1.3189         .0000    ** at limit **
  25  norm          .10000E-03    .16465         .0000    ** at limit **
  26  norm          .99058        5.6832         .0000        .52718E-01
  27  norm          8.1839        2.0784         .0000        .11536E-03
  28  Normalizat    1.3287        .14799         .0000        .84486E-04
  29  Prefactor     .69988        .12448         .0000        .13814E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100032
  Prefactor  = 12.8235
  norm       = 14.0845
  Prefactor  = 0.000100004
  Prefactor  = 10.3454
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010003
  Prefactor  = 3.0721
  Prefactor  = 3.06737
  norm       = 4.91035
  norm       = 0.0435116
  norm       = 0.0001
  Prefactor  = 0.000105847
  Prefactor  = 4.39805
  norm       = 0.000101796
  Prefactor  = 6.63462
  Prefactor  = 0.888242
  Prefactor  = 1.88074
  Prefactor  = 0.0001
  Prefactor  = 0.000100414
  norm       = 3.44747
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.990576
  norm       = 8.18395
  Normalizat = 1.32868
  Prefactor  = 0.699876
 **********
 **   18 **HESSE 
 **********

 FCN=   11126.84     FROM HESSE     STATUS=OK           575 CALLS     4431 TOTAL
                     EDM=   .85E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    15.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.823        25.408        .11182E-03   -1.4992    
   3  norm          14.084        18.861        .10671E-03   -1.4957    
   4  Prefactor     .10000E-03    10.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.345        28.290        .12450E-03   -1.5065    
   6  Prefactor     .10000E-03    6.2144        .23225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.8017        .13744E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10003E-03    12.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.0721        3.9520        .22193E-03   -1.5357    
  10  Prefactor     3.0674        2.6682        .15190E-03   -1.5358    
  11  norm          4.9104        14.692        .18163E-03   -1.5265    
  12  norm          .43512E-01    .59427E-01    .33888E-03   -1.5666    
  13  norm          .10000E-03    2.9736        .17761E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10585E-03    6.3272        .84110E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.3980        3.3426        .15770E-03   -1.5289    
  16  norm          .10180E-03    81.128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.6346        1.7854        .47998E-04   -1.5193    
  18  Prefactor     .88824        1.4304        .10804E-03   -1.5519    
  19  Prefactor     1.8807        2.1624        .15779E-03   -1.5434    
  20  Prefactor     .10000E-03    1.9879        .19997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10041E-03    34.955        .40246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.4475        1.3662        .74691E-04   -1.5337    
  23  norm          .10000E-03    .31297        .83558E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    1.3271        .11825E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    .26052        .82689E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .99058        5.6917        .24196E-02   -1.5509    
  27  norm          8.1839        2.0728        .73914E-04   -1.5136    
  28  Normalizat    1.3287        .17844        .23994E-03   -.82714    
  29  Prefactor     .69988        .14995        .27855E-03   -1.0353    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.5398e-08
Minuit parameter uncertainties:
  1  0.00140882
  2  25.4289
  3  18.8687
  4  0.000416161
  5  28.3267
  6  2.328e-05
  7  3.95522e-06
  8  0.00121761
  9  3.95235
  10  2.66833
  11  14.7028
  12  0.0594268
  13  4.76657e-06
  14  0.0121661
  15  3.34279
  16  0.0241765
  17  1.78537
  18  1.43041
  19  2.16251
  20  3.48403e-06
  21  0.007616
  22  1.36619
  23  7.59126e-07
  24  4.20585e-06
  25  1.96441e-07
  26  4.74937
  27  2.07285
  28  0.178521
  29  0.150033
Done.

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

Extracting fit parameters...

4FGL J1625.7+4134
   Spectrum: PowerLaw
288    Prefactor:  3.067e+00  2.668e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.540e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  7.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  6.999e-01  1.500e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  1.329e+00  1.785e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.86
Ra Dec: 246.447 41.571
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 3.46e-08 +/- 3.01e-08
Energy Flux (Fixed Index): 9.64e-06 +/- 8.38e-06

TS (Fixed Index): 1.86
Ra Dec: 246.447 41.571
Photon Flux Upper Limit: 9.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/977510/likelihoodResults_677116801_677376001_4FGL_J1625.7+4134_daily_bin1689.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) = 11126.8183138
delta logL = 0.0222637279112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11126.8126606
delta logL = 0.0279169471032

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11126.81     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      206 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3598        73.155        .55225E-02    .71740E-03
   2  Index         2.3713        6.1476        .24014        .56035E-04
   3  Normalizat    1.3345        .53792E-01    .54170E-01   -.58249E-05
   4  Prefactor     .69629        .40666E-01    .63112E-01    .35136E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.35981
  Index      = 2.37132
  Normalizat = 1.3345
  Prefactor  = 0.696295
 **********
 **   18 **HESSE 
 **********

 FCN=   11126.81     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3598        3.0984        .16138E-03   -1.5341    
   2  Index         2.3713        .70621        .11200E-01   -.55358    
   3  Normalizat    1.3345        .17170        .23952E-03   -.82542    
   4  Prefactor     .69629        .14818        .27920E-03   -1.0367    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4569e-09
Minuit parameter uncertainties:
  1  3.09856
  2  0.709493
  3  0.171769
  4  0.148265
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/977510': 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) = 11126.8126598
delta logL = 0.0279177244956

Extracting fit parameters...

4FGL J1625.7+4134
   Spectrum: PowerLaw
288    Prefactor:  3.360e+00  3.099e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        Index:  2.371e+00  7.095e-01  0.000e+00  1.000e+01 (-1.000e+00)
290        Scale:  7.619e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  6.963e-01  1.483e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  1.335e+00  1.718e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.92
Ra Dec: 246.447 41.571
Photon Index (Free Index): 2.37 +/- 0.71
Photon Flux (Free Index): 3.03e-08 +/- 3.23e-08
Energy Flux (Free Index): 1.03e-05 +/- 9.73e-06

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/977510/cmap_HighResolution_677116801_677376001_4FGL_J1625.7+4134_daily_bin1689.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.56e-03', comment='SUCCESS', photon_flux='3.46e-08', energy_flux2='1.03e-05', photon_flux_error='3.01e-08', dlogl='2.79e-02', energy_flux='9.64e-06', photon_flux2='3.03e-08', job_status='DONE', time_completed='2022-06-20 01:14:21.266054', photon_index_error2='0.71', photon_index2='2.37', ts='1.86', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='9.69e-08', energy_flux_error2='9.73e-06', EG='1.33', time_epoch_completed='1655712861.27', return_code='0', job_id='977510', GAL2='0.70', EG2='1.33', return_code2='0', energy_flux_error='8.38e-06', photon_flux_error2='3.23e-08', ts2='1.92', photon_index='2.54' WHERE bin_id='1689' AND source_name='4FGL J1625.7+4134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jun 20 01:14:21 PDT 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 977511: <4FGL_J1625.7+4134_daily_bin1689> in cluster <slac> Done

Job <4FGL_J1625.7+4134_daily_bin1689> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Jun 20 00:06:38 2022
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jun 20 00:49:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jun 20 00:49:39 2022
Terminated at Mon Jun 20 01:14:13 2022
Results reported at Mon Jun 20 01:14:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1625.7+4134_daily_bin1689 246.447 41.5709 677116801 677376001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1625.7+4134 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1411.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             325.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1474 sec.
    Turnaround time :                            4055 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0200>
Subject: Job 977510: <4FGL_J1625.7+4134_daily_bin1689> in cluster <slac> Done

Job <4FGL_J1625.7+4134_daily_bin1689> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Mon Jun 20 00:06:38 2022
Job was executed on host(s) <bullet0200>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jun 20 00:49:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jun 20 00:49:39 2022
Terminated at Mon Jun 20 01:14:21 2022
Results reported at Mon Jun 20 01:14:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1625.7+4134_daily_bin1689 246.447 41.5709 677116801 677376001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1625.7+4134 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1407.45 sec.
    Max Memory :                                 1261 MB
    Average Memory :                             330.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1482 sec.
    Turnaround time :                            4063 sec.

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

