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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin1080
RA = 344.025, Dec = -27.6739
tmin = 519264001, tmax = 519523201
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='592767', job_status='RUN', time_executed='2021-09-29 02:47:22.895362', time_epoch_executed='1632908842.9' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='1080'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592767

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592767/ft1_4FGL_J2256.0-2740_daily_bin1080.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592767/ft2_4FGL_J2256.0-2740_daily_bin1080.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592767/ft1_4FGL_J2256.0-2740_daily_bin1080.fits outfile=/scratch/kocevski/592767/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin1080.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=519264001.0 tmax=519523201.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.48
user 3.24
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592767/ft1_filtered_4FGL_J2256.0-2740_daily_bin1080.fits" evtable="EVENTS" scfile=/scratch/kocevski/592767/ft2_4FGL_J2256.0-2740_daily_bin1080.fits sctable="SC_DATA" outfile=/scratch/kocevski/592767/ltcube_519264001_519523201_4FGL_J2256.0-2740_daily_bin1080.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/592767/ft2_4FGL_J2256.0-2740_daily_bin1080.fits
.....................!
real 12.08
user 11.74
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592767/ft1_filtered_4FGL_J2256.0-2740_daily_bin1080.fits evtable="EVENTS" scfile=/scratch/kocevski/592767/ft2_4FGL_J2256.0-2740_daily_bin1080.fits sctable="SC_DATA" expcube=/scratch/kocevski/592767/ltcube_519264001_519523201_4FGL_J2256.0-2740_daily_bin1080.fits outfile=/scratch/kocevski/592767/expmap_519264001_519523201_4FGL_J2256.0-2740_daily_bin1080.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/592767/ltcube_519264001_519523201_4FGL_J2256.0-2740_daily_bin1080.fits
.....................!
real 190.49
user 185.16
sys 4.96

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/592767/ft1_filtered_4FGL_J2256.0-2740_daily_bin1080.fits scfile=/scratch/kocevski/592767/ft2_4FGL_J2256.0-2740_daily_bin1080.fits outfile=/scratch/kocevski/592767/cmap_519264001_519523201_4FGL_J2256.0-2740_daily_bin1080.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592767/ft1_filtered_4FGL_J2256.0-2740_daily_bin1080.fits scfile=/scratch/kocevski/592767/ft2_4FGL_J2256.0-2740_daily_bin1080.fits outfile=/scratch/kocevski/592767/cmap_HighResolution_519264001_519523201_4FGL_J2256.0-2740_daily_bin1080.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/592767/ft1_filtered_4FGL_J2256.0-2740_daily_bin1080.fits evtable="EVENTS" scfile=/scratch/kocevski/592767/ft2_4FGL_J2256.0-2740_daily_bin1080.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592767/Model_4FGL_J2256.0-2740_daily_bin1080.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/592767/ft1_filtered_4FGL_J2256.0-2740_daily_bin1080.fits.....................!
real 46.76
user 45.39
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/592767/ft1_filtered_4FGL_J2256.0-2740_daily_bin1080.fits', '/scratch/kocevski/592767/ft2_4FGL_J2256.0-2740_daily_bin1080.fits', expMap='/scratch/kocevski/592767/expmap_519264001_519523201_4FGL_J2256.0-2740_daily_bin1080.fits', expCube='/scratch/kocevski/592767/ltcube_519264001_519523201_4FGL_J2256.0-2740_daily_bin1080.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/592767/Model_4FGL_J2256.0-2740_daily_bin1080.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/592767/ft1_filtered_4FGL_J2256.0-2740_daily_bin1080.fits
Spacecraft file(s): /scratch/kocevski/592767/ft2_4FGL_J2256.0-2740_daily_bin1080.fits
Exposure map: /scratch/kocevski/592767/expmap_519264001_519523201_4FGL_J2256.0-2740_daily_bin1080.fits
Exposure cube: /scratch/kocevski/592767/ltcube_519264001_519523201_4FGL_J2256.0-2740_daily_bin1080.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/592767/Model_4FGL_J2256.0-2740_daily_bin1080.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) = 5760.93412966

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10311E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    63.563       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10613E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .71154       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14843E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .70401E-01   1.0000         .10000E-03   10000.    
     9 'norm      '    15.061       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.690       1.0000         .10000E-03   10000.    
    12 'norm      '    .61665       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16338E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .74209E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10194E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    9.9126       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.4961       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .60324E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5504       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .44386       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=   5760.872     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     2516 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.568        .30334E-06** at limit **
   2  Prefactor     .10000E-03    3.0321        .93131E-07** at limit **
   3  norm          63.543        35.747       -.83130E-06   -.41467E-04
   4  Prefactor     .10000E-03    16.923        .23921E-06** at limit **
   5  Prefactor     .10000E-03    5.4042        .10211E-06** at limit **
   6  norm          .71074        2.0426       -.79939E-06   -.52627E-03
   7  Prefactor     .10002E-03    406.10        .10603E-04** at limit **
   8  Prefactor     .13972E-03    12.763       -.88647E-06** at limit **
   9  norm          15.063        6.5772        .57547E-06   -.27990E-05
  10  Prefactor     .10000E-03    8.0999        .35678E-06** at limit **
  11  Prefactor     18.703        14.678       -.20958E-05   -.45004E-03
  12  norm          .61697        .92094       -.74892E-07   -.13364E-02
  13  Prefactor     .10000E-03    122.93        .77525E-06** at limit **
  14  Prefactor     .10003E-03    19.502        .16361E-05** at limit **
  15  Prefactor     .10025E-03    13.293        .27760E-05** at limit **
  16  norm          .10000E-03    3.6806        .13961E-06** at limit **
  17  Prefactor     .10000E-03    18.501        .20283E-06** at limit **
  18  norm          9.9129        4.0559        .97739E-07   -.28727E-03
  19  Prefactor     1.5187        182.86        .82188E-05   -.12545E-05
  20  Prefactor     .10003E-03    803.53        .66715E-06** at limit **
  21  Normalizat    1.5505        .20802        .15057E-05   -.20287E-03
  22  Prefactor     .44405        .18791       -.29872E-05    .65716E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 63.5426
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.710737
  Prefactor  = 0.000100024
  Prefactor  = 0.000139722
  norm       = 15.0627
  Prefactor  = 0.0001
  Prefactor  = 18.7026
  norm       = 0.616972
  Prefactor  = 0.0001
  Prefactor  = 0.000100034
  Prefactor  = 0.000100255
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 9.91288
  Prefactor  = 1.51867
  Prefactor  = 0.000100029
  Normalizat = 1.5505
  Prefactor  = 0.444054
 **********
 **   18 **HESSE 
 **********

 FCN=   5760.872     FROM HESSE     STATUS=OK           366 CALLS     2882 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.0388        .12906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          63.543        35.577        .50333E-04   -1.4112    
   4  Prefactor     .10000E-03    16.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.4178        .17229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .71074        2.1178        .16998E-03   -1.5539    
   7  Prefactor     .10002E-03    49.924        .13488       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .13972E-03    18.665        .65297E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          15.063        6.5670        .10320E-03   -1.4932    
  10  Prefactor     .10000E-03    8.1319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.703        14.695        .92645E-04   -1.4843    
  12  norm          .61697        .83934        .63758E-03   -1.5551    
  13  Prefactor     .10000E-03    123.70        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10003E-03    96.945        .40151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10025E-03    93.110        .41863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    8.4284        .28347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    18.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.9129        4.0319        .91076E-04   -1.5078    
  19  Prefactor     1.5187        186.78        .35026E-03   -1.5461    
  20  Prefactor     .10003E-03    841.52        .42122E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5505        .23934        .21215E-03   -.76369    
  22  Prefactor     .44405        .21046        .34663E-03   -1.1462    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19076e-09
Minuit parameter uncertainties:
  1  2.00688e-05
  2  4.48792e-06
  3  35.5885
  4  2.4595e-05
  5  2.80134e-06
  6  2.11804
  7  0.0021716
  8  0.0544749
  9  6.56735
  10  1.33496e-06
  11  14.6976
  12  0.83936
  13  0.000180946
  14  0.00363538
  15  0.00975306
  16  5.089e-05
  17  2.37945e-05
  18  4.03203
  19  33.7914
  20  0.0099694
  21  0.239511
  22  0.210829
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.870e+01  1.470e+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:  4.441e-01  2.108e-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:  1.551e+00  2.395e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.56
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 1.28e-07 +/- 1.00e-07
Energy Flux (Fixed Index): 2.53e-05 +/- 1.98e-05

TS (Fixed Index): 3.56
Ra Dec: 344.025 -27.674
Photon Flux Upper Limit: 2.64e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.11e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/592767/likelihoodResults_519264001_519523201_4FGL_J2256.0-2740_daily_bin1080.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) = 5760.26521025
delta logL = 0.606528423234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5760.20744465
delta logL = 0.66429401565

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1841       1.0000         .10000E-03   10000.    
     2 'Index     '    7.7298       1.0000          .0000       10.000    
     3 'Normalizat'    1.5030       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .49512       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=   5760.207     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      260 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1783        9.5903        .91113E-02   -.87883E-03
   2  Index         7.7358        8.6644        .24436       -.53639E-05
   3  Normalizat    1.5031        .63480E-01    .48600E-01   -.12663E-03
   4  Prefactor     .49507        .59291E-01    .74713E-01   -.60713E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.17829
  Index      = 7.73577
  Normalizat = 1.50311
  Prefactor  = 0.49507
 **********
 **   18 **HESSE 
 **********

 FCN=   5760.207     FROM HESSE     STATUS=OK            29 CALLS      289 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1783        5.9926        .40948E-04   -1.5491    
   2  Index         7.7358        8.1915        .11530E-02    .57896    
   3  Normalizat    1.5031        .23636        .21484E-03   -.77691    
   4  Prefactor     .49507        .21324        .33084E-03   -1.1220    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.09322e-11
Minuit parameter uncertainties:
  1  5.31515
  2  5.84441
  3  0.236537
  4  0.213588
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592767': 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) = 5760.20744326
delta logL = 0.664295414091

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.178e+00  5.315e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  7.736e+00  5.844e+00  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:  4.951e-01  2.136e-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:  1.503e+00  2.365e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.39
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 7.74 +/- 5.84
Photon Flux (Free Index): 1.48e-07 +/- 8.59e-08
Energy Flux (Free Index): 1.73e-05 +/- 1.15e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/592767/cmap_HighResolution_519264001_519523201_4FGL_J2256.0-2740_daily_bin1080.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.11e-02', comment='SUCCESS', photon_flux='1.28e-07', energy_flux2='1.73e-05', photon_flux_error='1.00e-07', dlogl='6.64e-01', energy_flux='2.53e-05', photon_flux2='1.48e-07', job_status='DONE', time_completed='2021-09-29 02:57:43.862753', photon_index_error2='5.84', photon_index2='7.74', ts='3.56', fit_tolerance='1e-08', GAL='0.44', photon_index_error='0.00', photon_flux_upper_limit='2.64e-07', energy_flux_error2='1.15e-05', EG='1.55', time_epoch_completed='1632909463.86', return_code='0', job_id='592767', GAL2='0.50', EG2='1.50', return_code2='0', energy_flux_error='1.98e-05', photon_flux_error2='8.59e-08', ts2='5.39', photon_index='3.02' WHERE bin_id='1080' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:57:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 592767: <4FGL_J2256.0-2740_daily_bin1080> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin1080> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:45:49 2021
Job was executed on host(s) <bullet0054>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:45:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 02:45:51 2021
Terminated at Wed Sep 29 02:57:44 2021
Results reported at Wed Sep 29 02:57:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin1080 344.025 -27.6739 519264001 519523201 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 :                                   612.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            715 sec.

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

