/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 185 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 = 7472
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2256.0-2740_daily_bin380
RA = 344.025, Dec = -27.6739
tmin = 337824001, tmax = 338083201
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='590692', job_status='RUN', time_executed='2021-09-29 02:43:34.503284', time_epoch_executed='1632908614.5' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='380'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590692

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590692/ft1_4FGL_J2256.0-2740_daily_bin380.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590692/ft2_4FGL_J2256.0-2740_daily_bin380.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590692/ft1_4FGL_J2256.0-2740_daily_bin380.fits outfile=/scratch/kocevski/590692/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin380.fits ra=344.025 dec=-27.6739 rad=12.0 tmin=337824001.0 tmax=338083201.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.52
user 3.27
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/590692/ft2_4FGL_J2256.0-2740_daily_bin380.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/590692/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin380.fits evtable="EVENTS" outfile="/scratch/kocevski/590692/ft1_filtered_4FGL_J2256.0-2740_daily_bin380.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.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590692/ft1_filtered_4FGL_J2256.0-2740_daily_bin380.fits" evtable="EVENTS" scfile=/scratch/kocevski/590692/ft2_4FGL_J2256.0-2740_daily_bin380.fits sctable="SC_DATA" outfile=/scratch/kocevski/590692/ltcube_337824001_338083201_4FGL_J2256.0-2740_daily_bin380.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/590692/ft2_4FGL_J2256.0-2740_daily_bin380.fits
.....................!
real 15.52
user 15.14
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590692/ft1_filtered_4FGL_J2256.0-2740_daily_bin380.fits evtable="EVENTS" scfile=/scratch/kocevski/590692/ft2_4FGL_J2256.0-2740_daily_bin380.fits sctable="SC_DATA" expcube=/scratch/kocevski/590692/ltcube_337824001_338083201_4FGL_J2256.0-2740_daily_bin380.fits outfile=/scratch/kocevski/590692/expmap_337824001_338083201_4FGL_J2256.0-2740_daily_bin380.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/590692/ltcube_337824001_338083201_4FGL_J2256.0-2740_daily_bin380.fits
.....................!
real 190.16
user 184.69
sys 5.11

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/590692/ft1_filtered_4FGL_J2256.0-2740_daily_bin380.fits scfile=/scratch/kocevski/590692/ft2_4FGL_J2256.0-2740_daily_bin380.fits outfile=/scratch/kocevski/590692/cmap_337824001_338083201_4FGL_J2256.0-2740_daily_bin380.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.52
user 0.35
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/590692/ft1_filtered_4FGL_J2256.0-2740_daily_bin380.fits evtable="EVENTS" scfile=/scratch/kocevski/590692/ft2_4FGL_J2256.0-2740_daily_bin380.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/590692/Model_4FGL_J2256.0-2740_daily_bin380.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/590692/ft1_filtered_4FGL_J2256.0-2740_daily_bin380.fits.....................!
real 47.86
user 46.54
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.882       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.0858       1.0000         .10000E-03   10000.    
     4 'Prefactor '    27.235       1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.820       1.0000         .10000E-03   10000.    
     6 'norm      '    1.1048       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.1976       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.0087       1.0000         .10000E-03   10000.    
     9 'norm      '    2.6048       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .76358       1.0000         .10000E-03   10000.    
    12 'norm      '    .63720       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.4578       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    18.504       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.3421       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.530       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .85257       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84924       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6205.128     FROM MIGRAD    STATUS=CONVERGED     66 CALLS     1977 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 14.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.882        1.0020       -.24711E-06   -.27727E-03
   2  Prefactor     .10000E-03    5.8086       -.33005E-05** at limit **
   3  norm          8.0826        1.0154       -.41890E-06   -.62183E-04
   4  Prefactor     27.237        1.0104        .36140E-06   -.13632E-03
   5  Prefactor     21.818        1.0168        .59598E-06   -.47996E-03
   6  norm          1.1057        1.4123       -.13031E-06    .57997E-04
   7  Prefactor     7.1894        1.7293       -.92331E-05    .35417E-02
   8  Prefactor     7.0088        1.0067        .51999E-06    .85835E-03
   9  norm          2.6038        2.7080       -.10741E-05   -.31024E-03
  10  Prefactor     .10000E-03    3.7747        .32031E-05** at limit **
  11  Prefactor     .78109        1.8140        .27360E-04    .31861E-02
  12  norm          .63666        .38196       -.11087E-05    .75649E-03
  13  Prefactor     .10001E-03    44.417       -.18279E-03** at limit **
  14  Prefactor     6.4485        1.1139       -.18166E-05   -.25311E-03
  15  Prefactor     .10000E-03    7.3360        .81913E-05** at limit **
  16  norm          18.505        1.0181       -.78490E-06   -.12036E-02
  17  Prefactor     .10001E-03    12.248       -.20961E-04** at limit **
  18  norm          2.3418        2.2983        .22765E-06    .24886E-04
  19  Prefactor     11.529        1.0168       -.92406E-06    .37897E-03
  20  Prefactor     .10002E-03    27.248        .11953E-03** at limit **
  21  Normalizat    .85236        .17871       -.35512E-05    .22863E-03
  22  Prefactor     .84945        .17893        .36727E-05    .18402E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.8824
  Prefactor  = 0.0001
  norm       = 8.08256
  Prefactor  = 27.2368
  Prefactor  = 21.8183
  norm       = 1.10572
  Prefactor  = 7.18944
  Prefactor  = 7.00881
  norm       = 2.60381
  Prefactor  = 0.0001
  Prefactor  = 0.781087
  norm       = 0.636662
  Prefactor  = 0.000100011
  Prefactor  = 6.44852
  Prefactor  = 0.000100001
  norm       = 18.5048
  Prefactor  = 0.000100006
  norm       = 2.3418
  Prefactor  = 11.5289
  Prefactor  = 0.000100017
  Normalizat = 0.852357
  Prefactor  = 0.849445
 **********
 **   18 **HESSE 
 **********

 FCN=   6205.128     FROM HESSE     STATUS=OK           404 CALLS     2381 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.882        9.7102        .26875E-02   -1.4963    
   2  Prefactor     .10000E-03    5.5791        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.0826        13.493        .35249E-02   -1.5139    
   4  Prefactor     27.237        15.906        .19191E-02   -1.4664    
   5  Prefactor     21.818        12.666        .21437E-02   -1.4773    
   6  norm          1.1057        1.8711        .23855E-01   -1.5498    
   7  Prefactor     7.1894        46.049        .37378E-02   -1.5172    
   8  Prefactor     7.0088        7.7592        .37883E-02   -1.5178    
   9  norm          2.6038        2.8233        .63191E-02   -1.5385    
  10  Prefactor     .10000E-03    3.7691        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .78109        4.4544        .72092E-01   -1.5531    
  12  norm          .63666        .43231        .80590E-02   -1.5548    
  13  Prefactor     .10001E-03    45.105        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.4485        13.576        .39483E-02   -1.5200    
  15  Prefactor     .10000E-03    7.2186        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          18.505        9.3443        .23277E-02   -1.4847    
  17  Prefactor     .10001E-03    12.337        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.3418        2.3480        .66975E-02   -1.5402    
  19  Prefactor     11.529        24.058        .29495E-02   -1.5029    
  20  Prefactor     .10002E-03    27.707        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .85236        .16049        .44293E-01   -.98155    
  22  Prefactor     .84945        .15357        .44355E-01   -.97931    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37306e-07
Minuit parameter uncertainties:
  1  9.7113
  2  3.09227e-05
  3  13.4982
  4  15.9084
  5  12.6675
  6  1.87121
  7  36.4313
  8  7.76032
  9  2.82345
  10  4.78375e-05
  11  3.73075
  12  0.432313
  13  0.00140952
  14  13.5821
  15  0.000151317
  16  9.345
  17  0.000563313
  18  2.34809
  19  24.078
  20  0.00137846
  21  0.160583
  22  0.153648
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  7.811e-01  3.731e+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

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  8.494e-01  1.536e-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:  8.524e-01  1.606e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 344.025 -27.674
Photon Flux Upper Limit: 9.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/590692/likelihoodResults_337824001_338083201_4FGL_J2256.0-2740_daily_bin380.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): 102
logL (Free Index) = 6204.97103852
delta logL = 0.156577319786

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6204.93446668
delta logL = 0.193149160934

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27298       1.0000         .10000E-03   10000.    
     2 'Index     '    7.2634       1.0000          .0000       10.000    
     3 'Normalizat'    .82531       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86813       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=   6204.934     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      229 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27299        8.6966        .10306E-01    .27244E-02
   2  Index         7.2683        8.0433        .50000        .63219E-04
   3  Normalizat    .82500        .26877E-01    .43940E-01    .71771E-04
   4  Prefactor     .86840        .26990E-01    .44598E-01    .75434E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.272993
  Index      = 7.26827
  Normalizat = 0.825
  Prefactor  = 0.868399
 **********
 **   18 **HESSE 
 **********

 FCN=   6204.934     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      262 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27299        37.539        .66055E-04   -1.5603    
   2  Index         7.2683        6.0566        .30725E-01    .47086    
   3  Normalizat    .82500        .13544        .23233E-03   -.99148    
   4  Prefactor     .86840        .13098        .22706E-03   -.97254    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.90597e-09
Minuit parameter uncertainties:
  1  6.40541
  2  29.957
  3  0.135499
  4  0.13103
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590692': 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): 102
logL (Free Index) = 6204.93446346
delta logL = 0.193152371339

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.730e-01  6.405e+00  1.000e-04  1.000e+04 ( 1.000e-11)
341        Index:  7.268e+00  2.996e+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:  8.684e-01  1.310e-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:  8.250e-01  1.355e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 344.025 -27.674

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/590692/cmap_HighResolution_337824001_338083201_4FGL_J2256.0-2740_daily_bin380.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.45e-03', job_status='DONE', photon_flux_upper_limit='9.30e-08', time_completed='2021-09-29 02:53:40.801509', job_id='590692', GAL2='0.87', fit_tolerance='1e-08', EG2='0.82', EG='0.85', time_epoch_completed='1632909220.8', return_code2='102', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.93e-01', ts2='0.44', photon_index_error='0.00', photon_index='3.02' WHERE bin_id='380' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 02:53:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 590692: <4FGL_J2256.0-2740_daily_bin380> in cluster <slac> Done

Job <4FGL_J2256.0-2740_daily_bin380> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 02:40:19 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:40:21 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:40:21 2021
Terminated at Wed Sep 29 02:53:41 2021
Results reported at Wed Sep 29 02:53:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2256.0-2740_daily_bin380 344.025 -27.6739 337824001 338083201 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 :                                   603.29 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             269.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            802 sec.

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

