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


Performing analysis on: 4FGL_J1724.9+7654_monthly_bin169
RA = 261.233, Dec = 76.9152
tmin = 675043201, tmax = 677635201
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='181310', job_status='RUN', time_executed='2022-06-23 02:36:17.440361', time_epoch_executed='1655976977.44' WHERE source_name='4FGL J1724.9+7654' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/181310

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/181310/ft1_4FGL_J1724.9+7654_monthly_bin169.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/181310/ft2_4FGL_J1724.9+7654_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/181310/ft1_4FGL_J1724.9+7654_monthly_bin169.fits outfile=/scratch/kocevski/181310/ft1_filteredMKT_4FGL_J1724.9+7654_monthly_bin169.fits ra=261.233 dec=76.9152 rad=12.0 tmin=675043201.0 tmax=677635201.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 27.80
user 27.03
sys 0.71

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/181310/ft2_4FGL_J1724.9+7654_monthly_bin169.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/181310/ft2_4FGL_J1724.9+7654_monthly_bin169.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/181310/ft1_filteredMKT_4FGL_J1724.9+7654_monthly_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/181310/ft1_filtered_4FGL_J1724.9+7654_monthly_bin169.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.85
user 0.65
sys 0.19

Number of photons that the gtmktime cut: 14684

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/181310/ft1_filtered_4FGL_J1724.9+7654_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/181310/ft2_4FGL_J1724.9+7654_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/181310/ltcube_675043201_677635201_4FGL_J1724.9+7654_monthly_bin169.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/181310/ft2_4FGL_J1724.9+7654_monthly_bin169.fits
.....................!
real 138.77
user 138.37
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/181310/ft1_filtered_4FGL_J1724.9+7654_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/181310/ft2_4FGL_J1724.9+7654_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/181310/ltcube_675043201_677635201_4FGL_J1724.9+7654_monthly_bin169.fits outfile=/scratch/kocevski/181310/expmap_675043201_677635201_4FGL_J1724.9+7654_monthly_bin169.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/181310/ltcube_675043201_677635201_4FGL_J1724.9+7654_monthly_bin169.fits
.....................!
real 192.78
user 188.19
sys 4.60

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

Setting source of interest to:
4FGL J1724.9+7654 @ 261.233 76.9152

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/181310/ft1_filtered_4FGL_J1724.9+7654_monthly_bin169.fits scfile=/scratch/kocevski/181310/ft2_4FGL_J1724.9+7654_monthly_bin169.fits outfile=/scratch/kocevski/181310/cmap_675043201_677635201_4FGL_J1724.9+7654_monthly_bin169.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=261.233 yref=76.9152 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.81
user 0.64
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/181310/ft1_filtered_4FGL_J1724.9+7654_monthly_bin169.fits scfile=/scratch/kocevski/181310/ft2_4FGL_J1724.9+7654_monthly_bin169.fits outfile=/scratch/kocevski/181310/cmap_HighResolution_675043201_677635201_4FGL_J1724.9+7654_monthly_bin169.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=261.233 yref=76.9152 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.81
user 0.65
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/181310/ft1_filtered_4FGL_J1724.9+7654_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/181310/ft2_4FGL_J1724.9+7654_monthly_bin169.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/181310/Model_4FGL_J1724.9+7654_monthly_bin169.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/181310/ft1_filtered_4FGL_J1724.9+7654_monthly_bin169.fits.....................!
real 1570.42
user 1568.56
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/181310/ft1_filtered_4FGL_J1724.9+7654_monthly_bin169.fits', '/scratch/kocevski/181310/ft2_4FGL_J1724.9+7654_monthly_bin169.fits', expMap='/scratch/kocevski/181310/expmap_675043201_677635201_4FGL_J1724.9+7654_monthly_bin169.fits', expCube='/scratch/kocevski/181310/ltcube_675043201_677635201_4FGL_J1724.9+7654_monthly_bin169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/181310/Model_4FGL_J1724.9+7654_monthly_bin169.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1724.9+7654'

4FGL J1724.9+7654
   Spectrum: PowerLaw
379    Prefactor:  4.559e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
380        Index:  2.718e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
381        Scale:  7.786e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/181310/ft1_filtered_4FGL_J1724.9+7654_monthly_bin169.fits
Spacecraft file(s): /scratch/kocevski/181310/ft2_4FGL_J1724.9+7654_monthly_bin169.fits
Exposure map: /scratch/kocevski/181310/expmap_675043201_677635201_4FGL_J1724.9+7654_monthly_bin169.fits
Exposure cube: /scratch/kocevski/181310/ltcube_675043201_677635201_4FGL_J1724.9+7654_monthly_bin169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/181310/Model_4FGL_J1724.9+7654_monthly_bin169.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) = 152713.471983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .76414       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .91455       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.818       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.133       1.0000         .10000E-03   10000.    
     7 'norm      '    2.5596       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .36057E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    .85690E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12793       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1641       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.1482       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.1859       1.0000         .10000E-03   10000.    
    16 'norm      '    3.0745       1.0000         .10000E-03   10000.    
    17 'norm      '    7.5458       1.0000         .10000E-03   10000.    
    18 'norm      '    5.0008       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.6871       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.9249       1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.823       1.0000         .10000E-03   10000.    
    23 'norm      '    1.5986       1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.8967       1.0000         .10000E-03   10000.    
    25 'norm      '    1.9423       1.0000         .10000E-03   10000.    
    26 'norm      '    1.0301       1.0000         .10000E-03   10000.    
    27 'Prefactor '    4.7682       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .92753       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0529       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   152713.4     FROM MIGRAD    STATUS=CONVERGED    737 CALLS     3288 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .76815        1.1116        .21352E-07   -.74823E-03
   2  Prefactor     .10000E-03    1.7188        .84082E-07** at limit **
   3  Prefactor     .10000E-03    4.0887        .33230E-06** at limit **
   4  Prefactor     .91334        4.5019       -.38661E-05   -.27529E-03
   5  Prefactor     11.818        6.2806        .77412E-07    .14681E-04
   6  Prefactor     12.133        10.173        .52949E-06    .72682E-05
   7  norm          2.5596        1.9538       -.79283E-07   -.10424E-03
   8  Prefactor     .10000E-03    5.0290       -.18996E-06** at limit **
   9  Prefactor     .10000E-03    1.0989       -.81601E-07** at limit **
  10  norm          .85673E-01    .87839E-01    .11630E-06   -.87539E-02
  11  Prefactor     .10000E-03    .19518       -.38676E-07** at limit **
  12  Prefactor     .12795        .19814       -.73926E-10   -.67259E-03
  13  Prefactor     1.1652        2.3931       -.33056E-07   -.10609E-02
  14  Prefactor     9.1466        5.8417       -.15033E-06   -.16068E-04
  15  Prefactor     2.1825        8.1649        .39321E-05   -.16388E-04
  16  norm          3.0745        .56730       -.36744E-08   -.41416E-03
  17  norm          7.5458        .30234        .24259E-08   -.63184E-04
  18  norm          5.0008        1.0775        .17791E-07   -.12983E-03
  19  Prefactor     .10000E-03    8.3797        .27569E-06** at limit **
  20  Prefactor     3.6868        1.4216       -.17419E-06   -.13720E-02
  21  Prefactor     2.9260        3.6375        .20210E-05   -.67200E-05
  22  Prefactor     15.822        13.241        .13062E-06   -.85641E-05
  23  norm          1.5985        .59478       -.12071E-06   -.16345E-02
  24  Prefactor     1.8968        1.0871        .12402E-06   -.23546E-02
  25  norm          1.9429        .62901        .34712E-07   -.94892E-03
  26  norm          1.0302        .62773        .41269E-07   -.17291E-02
  27  Prefactor     4.7681        2.2480       -.11305E-06   -.21552E-03
  28  Normalizat    .92755        .42143E-01   -.81092E-07   -.94374E-04
  29  Prefactor     1.0528        .24293E-01   -.11191E-06   -.11286E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.768147
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.913341
  Prefactor  = 11.8175
  Prefactor  = 12.1325
  norm       = 2.55958
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.0856734
  Prefactor  = 0.0001
  Prefactor  = 0.127954
  Prefactor  = 1.16524
  Prefactor  = 9.14658
  Prefactor  = 2.18246
  norm       = 3.07448
  norm       = 7.54579
  norm       = 5.00083
  Prefactor  = 0.0001
  Prefactor  = 3.68678
  Prefactor  = 2.92601
  Prefactor  = 15.8217
  norm       = 1.59847
  Prefactor  = 1.89681
  norm       = 1.9429
  norm       = 1.03016
  Prefactor  = 4.76813
  Normalizat = 0.927553
  Prefactor  = 1.05284
 **********
 **   18 **HESSE 
 **********

 FCN=   152713.4     FROM HESSE     STATUS=OK           585 CALLS     3873 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .76815        2.5155        .48887E-02   -1.5533    
   2  Prefactor     .10000E-03    1.7718        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.1252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .91334        5.1931        .51441E-02   -1.5517    
   5  Prefactor     11.818        6.2861        .11653E-03   -1.5020    
   6  Prefactor     12.133        10.179        .11500E-03   -1.5011    
   7  norm          2.5596        1.9496        .25518E-03   -1.5388    
   8  Prefactor     .10000E-03    5.0322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.1341        .14516       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .85673E-01    .10050        .12707E-03   -1.5649    
  11  Prefactor     .10000E-03    .97249        .32788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12795        .43876        .19516E-02   -1.5636    
  13  Prefactor     1.1652        2.3379        .42647E-03   -1.5492    
  14  Prefactor     9.1466        5.7497        .13251E-03   -1.5103    
  15  Prefactor     2.1825        8.1739        .27840E-03   -1.5412    
  16  norm          3.0745        .56576        .11973E-03   -1.5357    
  17  norm          7.5458        .30228        .40228E-04   -1.5159    
  18  norm          5.0008        1.0739        .17983E-04   -1.5261    
  19  Prefactor     .10000E-03    8.3998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.6868        1.4213        .21034E-03   -1.5324    
  21  Prefactor     2.9260        3.6180        .23753E-03   -1.5366    
  22  Prefactor     15.822        13.243        .10069E-03   -1.4912    
  23  norm          1.5985        .58925        .17132E-03   -1.5455    
  24  Prefactor     1.8968        1.1531        .30205E-03   -1.5433    
  25  norm          1.9429        .62916        .17033E-03   -1.5429    
  26  norm          1.0302        .62666        .23093E-03   -1.5505    
  27  Prefactor     4.7681        2.2501        .18425E-03   -1.5271    
  28  Normalizat    .92755        .47100E-01    .32822E-03   -.95499    
  29  Prefactor     1.0528        .27324E-01    .18361E-03   -.90988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76547e-06
Minuit parameter uncertainties:
  1  2.51581
  2  1.7612e-06
  3  3.771e-06
  4  4.35607
  5  6.28646
  6  10.1807
  7  1.94969
  8  1.69763e-07
  9  0.000126107
  10  0.100498
  11  3.70113e-06
  12  0.43877
  13  2.33804
  14  5.75008
  15  8.17803
  16  0.565762
  17  0.302276
  18  1.07386
  19  7.85813e-07
  20  1.42128
  21  3.6183
  22  13.2454
  23  0.589257
  24  1.15307
  25  0.629165
  26  0.626662
  27  2.25019
  28  0.0471019
  29  0.0273247
Done.

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

Extracting fit parameters...

4FGL J1724.9+7654
   Spectrum: PowerLaw
379    Prefactor:  9.147e+00  5.750e+00  1.000e-04  1.000e+04 ( 1.000e-13)
380        Index:  2.718e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
381        Scale:  7.786e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
652    Prefactor:  1.053e+00  2.732e-02  0.000e+00  1.000e+01 ( 1.000e+00)
653        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
654        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
651   Normalization:  9.276e-01  4.710e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.50
Ra Dec: 261.233 76.915
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 1.41e-08 +/- 8.85e-09
Energy Flux (Fixed Index): 3.35e-06 +/- 2.10e-06

TS (Fixed Index): 3.50
Ra Dec: 261.233 76.915
Photon Flux Upper Limit: 2.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/181310/likelihoodResults_675043201_677635201_4FGL_J1724.9+7654_monthly_bin169.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) = 152713.373043
delta logL = 0.020887480001

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 152713.365521
delta logL = 0.0284086350584

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   152713.4     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      275 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.9123        6.6283        .63630E-03   -.20983E-03
   2  Index         2.6171        .42594        .72517E-02    .47761E-03
   3  Normalizat    .92857        .44378E-01    .32807E-03   -.12309E-03
   4  Prefactor     1.0525        .26162E-01    .18364E-03    .25793E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.91225
  Index      = 2.6171
  Normalizat = 0.928567
  Prefactor  = 1.05246
 **********
 **   18 **HESSE 
 **********

 FCN=   152713.4     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.9123        6.4503        .25452E-04   -1.5078    
   2  Index         2.6171        .41447        .14503E-02   -.49676    
   3  Normalizat    .92857        .44402E-01    .13123E-04   -.95463    
   4  Prefactor     1.0525        .26174E-01    .36728E-04   -.91001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1459e-11
Minuit parameter uncertainties:
  1  6.45079
  2  0.415082
  3  0.0444037
  4  0.0261742
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/181310': 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) = 152713.365521
delta logL = 0.0284092630318

Extracting fit parameters...

4FGL J1724.9+7654
   Spectrum: PowerLaw
379    Prefactor:  9.912e+00  6.451e+00  1.000e-04  1.000e+04 ( 1.000e-13)
380        Index:  2.617e+00  4.151e-01  0.000e+00  1.000e+01 (-1.000e+00)
381        Scale:  7.786e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
652    Prefactor:  1.052e+00  2.617e-02  0.000e+00  1.000e+01 ( 1.000e+00)
653        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
654        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
651   Normalization:  9.286e-01  4.440e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.59
Ra Dec: 261.233 76.915
Photon Index (Free Index): 2.62 +/- 0.42
Photon Flux (Free Index): 1.32e-08 +/- 8.76e-09
Energy Flux (Free Index): 3.41e-06 +/- 2.01e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/181310/cmap_HighResolution_675043201_677635201_4FGL_J1724.9+7654_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-03', comment='SUCCESS', photon_flux='1.41e-08', energy_flux2='3.41e-06', photon_flux_error='8.85e-09', dlogl='2.84e-02', energy_flux='3.35e-06', photon_flux2='1.32e-08', job_status='DONE', time_completed='2022-06-23 06:47:30.765675', photon_index_error2='0.42', photon_index2='2.62', ts='3.50', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='2.91e-08', energy_flux_error2='2.01e-06', EG='0.93', time_epoch_completed='1655992050.77', return_code='0', job_id='181310', GAL2='1.05', EG2='0.93', return_code2='0', energy_flux_error='2.10e-06', photon_flux_error2='8.76e-09', ts2='3.59', photon_index='2.72' WHERE bin_id='169' AND source_name='4FGL J1724.9+7654' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 06:47:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 181310: <4FGL_J1724.9+7654_monthly_bin169> in cluster <slac> Done

Job <4FGL_J1724.9+7654_monthly_bin169> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jun 23 02:35:25 2022
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 02:35:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 02:35:34 2022
Terminated at Thu Jun 23 06:47:32 2022
Results reported at Thu Jun 23 06:47:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1724.9+7654_monthly_bin169 261.233 76.9152 675043201 677635201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1724.9+7654 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   15064.00 sec.
    Max Memory :                                 637 MB
    Average Memory :                             537.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   15117 sec.
    Turnaround time :                            15127 sec.

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

