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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1667
RA = 344.025, Dec = -27.6739
tmin = 671414401, tmax = 671673601
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='533255', job_status='RUN', time_executed='2022-04-15 03:45:42.934314', time_epoch_executed='1650019542.93' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1667'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/533255

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/533255/ft1_4FGL_J2256.0-2740_daily_bin1667.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/533255/ft2_4FGL_J2256.0-2740_daily_bin1667.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/533255/ft1_4FGL_J2256.0-2740_daily_bin1667.fits outfile=/scratch/kocevski/533255/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1667.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=671414401.0 tmax=671673601.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.57
user 3.33
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/533255/ft2_4FGL_J2256.0-2740_daily_bin1667.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/533255/ft2_4FGL_J2256.0-2740_daily_bin1667.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/533255/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1667.fits evtable="EVENTS" outfile="/scratch/kocevski/533255/ft1_filtered_4FGL_J2256.0-2740_daily_bin1667.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

Number of photons that the gtmktime cut: 677

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/533255/ft1_filtered_4FGL_J2256.0-2740_daily_bin1667.fits" evtable="EVENTS" scfile=/scratch/kocevski/533255/ft2_4FGL_J2256.0-2740_daily_bin1667.fits sctable="SC_DATA" outfile=/scratch/kocevski/533255/ltcube_671414401_671673601_4FGL_J2256.0-2740_daily_bin1667.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/533255/ft2_4FGL_J2256.0-2740_daily_bin1667.fits
.....................!
real 14.97
user 14.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/533255/ft1_filtered_4FGL_J2256.0-2740_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/533255/ft2_4FGL_J2256.0-2740_daily_bin1667.fits sctable="SC_DATA" expcube=/scratch/kocevski/533255/ltcube_671414401_671673601_4FGL_J2256.0-2740_daily_bin1667.fits outfile=/scratch/kocevski/533255/expmap_671414401_671673601_4FGL_J2256.0-2740_daily_bin1667.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/533255/ltcube_671414401_671673601_4FGL_J2256.0-2740_daily_bin1667.fits
.....................!
real 191.85
user 185.80
sys 5.39

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

Setting source of interest to:
4FGL J2256.0-2740 @ 344.025 -27.6739

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/533255/ft1_filtered_4FGL_J2256.0-2740_daily_bin1667.fits scfile=/scratch/kocevski/533255/ft2_4FGL_J2256.0-2740_daily_bin1667.fits outfile=/scratch/kocevski/533255/cmap_671414401_671673601_4FGL_J2256.0-2740_daily_bin1667.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=344.025 yref=-27.6739 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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/533255/ft1_filtered_4FGL_J2256.0-2740_daily_bin1667.fits scfile=/scratch/kocevski/533255/ft2_4FGL_J2256.0-2740_daily_bin1667.fits outfile=/scratch/kocevski/533255/cmap_HighResolution_671414401_671673601_4FGL_J2256.0-2740_daily_bin1667.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=344.025 yref=-27.6739 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.59
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/533255/ft1_filtered_4FGL_J2256.0-2740_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/533255/ft2_4FGL_J2256.0-2740_daily_bin1667.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/533255/Model_4FGL_J2256.0-2740_daily_bin1667.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/533255/ft1_filtered_4FGL_J2256.0-2740_daily_bin1667.fits.....................!
real 54.43
user 52.69
sys 1.51

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/533255/ft1_filtered_4FGL_J2256.0-2740_daily_bin1667.fits', '/scratch/kocevski/533255/ft2_4FGL_J2256.0-2740_daily_bin1667.fits', expMap='/scratch/kocevski/533255/expmap_671414401_671673601_4FGL_J2256.0-2740_daily_bin1667.fits', expCube='/scratch/kocevski/533255/ltcube_671414401_671673601_4FGL_J2256.0-2740_daily_bin1667.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/533255/Model_4FGL_J2256.0-2740_daily_bin1667.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2256.0-2740'

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  5.060e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.023e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/533255/ft1_filtered_4FGL_J2256.0-2740_daily_bin1667.fits
Spacecraft file(s): /scratch/kocevski/533255/ft2_4FGL_J2256.0-2740_daily_bin1667.fits
Exposure map: /scratch/kocevski/533255/expmap_671414401_671673601_4FGL_J2256.0-2740_daily_bin1667.fits
Exposure cube: /scratch/kocevski/533255/ltcube_671414401_671673601_4FGL_J2256.0-2740_daily_bin1667.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/533255/Model_4FGL_J2256.0-2740_daily_bin1667.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) = 7362.16138819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.4443       1.0000         .10000E-03   10000.    
     3 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2431       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.3316       1.0000         .10000E-03   10000.    
     6 'norm      '    .10144E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    47.003       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .40658E-01   1.0000         .10000E-03   10000.    
     9 'norm      '    .12132E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.069       1.0000         .10000E-03   10000.    
    12 'norm      '    .95467       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10276E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.550       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11196E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.7500       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.239       1.0000         .10000E-03   10000.    
    18 'norm      '    8.4393       1.0000         .10000E-03   10000.    
    19 'Prefactor '    33.723       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10335E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .66287       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1084       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7362.099     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2446 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1172        .25257E-07** at limit **
   2  Prefactor     4.4450        7.7524        .49580E-06   -.12934E-04
   3  norm          .10000E-03    7.5218        .27628E-08** at limit **
   4  Prefactor     3.2432        12.143        .47243E-05   -.58056E-03
   5  Prefactor     5.3339        9.2311       -.61394E-06   -.19148E-03
   6  norm          .10000E-03    .58296       -.52836E-08** at limit **
   7  Prefactor     47.009        32.586        .86609E-06   -.10244E-03
   8  Prefactor     .68265E-01    4.6884        .88046E-07   -.79346E-04
   9  norm          .10000E-03    1.5032        .23341E-06** at limit **
  10  Prefactor     .10000E-03    5.5010       -.10539E-07** at limit **
  11  Prefactor     19.069        10.111       -.22214E-05   -.14057E-02
  12  norm          .95493        .79152        .58600E-06   -.24172E-02
  13  Prefactor     .10000E-03    13.656        .35743E-07** at limit **
  14  Prefactor     13.551        10.730        .82131E-06    .14755E-03
  15  Prefactor     .10003E-03    5.3801        .54560E-06** at limit **
  16  norm          3.7504        4.4743       -.14616E-07   -.57935E-04
  17  Prefactor     16.238        22.684        .24806E-05    .11908E-03
  18  norm          8.4396        3.0852       -.10273E-06   -.88509E-04
  19  Prefactor     33.721        22.893        .20970E-05    .20972E-03
  20  Prefactor     .10000E-03    50.521        .37830E-06** at limit **
  21  Normalizat    .66277        .15786        .49335E-06   -.34921E-03
  22  Prefactor     1.1084        .14881       -.62904E-06   -.23856E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.44498
  norm       = 0.0001
  Prefactor  = 3.24319
  Prefactor  = 5.33394
  norm       = 0.0001
  Prefactor  = 47.0095
  Prefactor  = 0.0682651
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 19.0686
  norm       = 0.954932
  Prefactor  = 0.0001
  Prefactor  = 13.5507
  Prefactor  = 0.000100029
  norm       = 3.7504
  Prefactor  = 16.2379
  norm       = 8.43956
  Prefactor  = 33.7212
  Prefactor  = 0.0001
  Normalizat = 0.66277
  Prefactor  = 1.10839
 **********
 **   18 **HESSE 
 **********

 FCN=   7362.099     FROM HESSE     STATUS=OK           354 CALLS     2800 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.1293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.4450        7.8370        .19101E-03   -1.5286    
   3  norm          .10000E-03    7.5600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.2432        21.559        .11246E-02   -1.5348    
   5  Prefactor     5.3339        9.2278        .17405E-03   -1.5246    
   6  norm          .10000E-03    .58568        .63802E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     47.009        32.407        .58485E-04   -1.4336    
   8  Prefactor     .68265E-01    9.4569        .57062E-01   -1.5656    
   9  norm          .10000E-03    8.3664        .19759E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.5117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.069        10.484        .91719E-04   -1.4834    
  12  norm          .95493        .76525        .47289E-04   -1.5513    
  13  Prefactor     .10000E-03    13.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.551        10.750        .10881E-03   -1.4972    
  15  Prefactor     .10003E-03    34.082        .34537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.7504        4.4711        .19251E-03   -1.5321    
  17  Prefactor     16.238        22.793        .99389E-04   -1.4902    
  18  norm          8.4396        3.0863        .86146E-04   -1.5127    
  19  Prefactor     33.721        23.021        .69005E-04   -1.4546    
  20  Prefactor     .10000E-03    50.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .66277        .18784        .26710E-03   -1.0538    
  22  Prefactor     1.1084        .17572        .21452E-03   -.89199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.97392e-09
Minuit parameter uncertainties:
  1  2.66524e-06
  2  7.83877
  3  4.0815e-06
  4  16.7321
  5  9.23029
  6  3.20744e-07
  7  32.4188
  8  1.60604
  9  0.000173992
  10  3.10215e-05
  11  10.4853
  12  0.765262
  13  1.17636e-06
  14  10.7519
  15  0.00200592
  16  4.47147
  17  22.8055
  18  3.0864
  19  23.0269
  20  1.39887e-05
  21  0.188024
  22  0.175815
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.907e+01  1.049e+01  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  3.023e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  1.108e+00  1.758e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  6.628e-01  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.40
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 1.30e-07 +/- 7.16e-08
Energy Flux (Fixed Index): 2.58e-05 +/- 1.42e-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) = 7362.08078047
delta logL = 0.0180599935775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7362.07938178
delta logL = 0.0194586851439

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7362.079     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      200 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.308        10.577        .22788E-02    .19504E-02
   2  Index         2.9208        .61632        .20362       -.32386E-04
   3  Normalizat    .66868        .14678        .60139E-01    .30524E-04
   4  Prefactor     1.1035        .14760        .37452E-01    .52858E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.3079
  Index      = 2.9208
  Normalizat = 0.668678
  Prefactor  = 1.10354
 **********
 **   18 **HESSE 
 **********

 FCN=   7362.079     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.308        7.5714        .91150E-04   -1.4829    
   2  Index         2.9208        .50283        .79062E-02   -.42887    
   3  Normalizat    .66868        .17409        .26602E-03   -1.0514    
   4  Prefactor     1.1035        .17362        .21491E-03   -.89353    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3673e-09
Minuit parameter uncertainties:
  1  7.57178
  2  0.503863
  3  0.174234
  4  0.173705
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/533255': 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) = 7362.07938147
delta logL = 0.0194589971316

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.931e+01  7.572e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  2.921e+00  5.039e-01  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  1.104e+00  1.737e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  6.687e-01  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.80
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 2.92 +/- 0.50
Photon Flux (Free Index): 1.27e-07 +/- 5.22e-08
Energy Flux (Free Index): 2.65e-05 +/- 1.10e-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/533255/cmap_HighResolution_671414401_671673601_4FGL_J2256.0-2740_daily_bin1667.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.30e-07', energy_flux2='2.65e-05', photon_flux_error='7.16e-08', dlogl='1.95e-02', energy_flux='2.58e-05', photon_flux2='1.27e-07', job_status='DONE', time_completed='2022-04-15 03:56:13.139747', photon_index_error2='0.50', photon_index2='2.92', ts='9.40', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='1.10e-05', EG='0.66', time_epoch_completed='1650020173.14', return_code='0', job_id='533255', GAL2='1.10', EG2='0.67', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='5.22e-08', ts2='9.80', photon_index='3.02' WHERE bin_id='1667' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Apr 15 03:56:13 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 533255: <4FGL_J2256.0-2740_daily_bin1667> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1667> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Apr 15 03:40:46 2022
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Apr 15 03:42:08 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Apr 15 03:42:08 2022
Terminated at Fri Apr 15 03:56:13 2022
Results reported at Fri Apr 15 03:56:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1667 344.025 -27.6739 671414401 671673601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2256.0-2740 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   632.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             258.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            927 sec.

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

