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


Performing analysis on: 4FGL_J0757.1+0956_daily_bin277
RA = 119.286, Dec = 9.9491
tmin = 311126401, tmax = 311385601
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='21620', job_status='RUN', time_executed='2021-08-28 20:18:05.130163', time_epoch_executed='1630207085.13' WHERE source_name='4FGL J0757.1+0956' and cadence='daily' and bin_id='277'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21620

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21620/ft1_4FGL_J0757.1+0956_daily_bin277.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21620/ft2_4FGL_J0757.1+0956_daily_bin277.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21620/ft1_4FGL_J0757.1+0956_daily_bin277.fits outfile=/scratch/kocevski/21620/ft1_filteredMKT_4FGL_J0757.1+0956_daily_bin277.fits ra=119.286 dec=9.9491 rad=12.0 tmin=311126401.0 tmax=311385601.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.84
user 3.31
sys 0.50

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/21620/ft2_4FGL_J0757.1+0956_daily_bin277.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/21620/ft2_4FGL_J0757.1+0956_daily_bin277.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/21620/ft1_filteredMKT_4FGL_J0757.1+0956_daily_bin277.fits evtable="EVENTS" outfile="/scratch/kocevski/21620/ft1_filtered_4FGL_J0757.1+0956_daily_bin277.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.79
user 0.33
sys 0.44

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21620/ft1_filtered_4FGL_J0757.1+0956_daily_bin277.fits" evtable="EVENTS" scfile=/scratch/kocevski/21620/ft2_4FGL_J0757.1+0956_daily_bin277.fits sctable="SC_DATA" outfile=/scratch/kocevski/21620/ltcube_311126401_311385601_4FGL_J0757.1+0956_daily_bin277.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/21620/ft2_4FGL_J0757.1+0956_daily_bin277.fits
.....................!
real 12.42
user 11.75
sys 0.63

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21620/ft1_filtered_4FGL_J0757.1+0956_daily_bin277.fits evtable="EVENTS" scfile=/scratch/kocevski/21620/ft2_4FGL_J0757.1+0956_daily_bin277.fits sctable="SC_DATA" expcube=/scratch/kocevski/21620/ltcube_311126401_311385601_4FGL_J0757.1+0956_daily_bin277.fits outfile=/scratch/kocevski/21620/expmap_311126401_311385601_4FGL_J0757.1+0956_daily_bin277.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/21620/ltcube_311126401_311385601_4FGL_J0757.1+0956_daily_bin277.fits
.....................!
real 191.72
user 186.94
sys 4.42

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
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 169 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0757.1+0956 @ 119.286 9.9491

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/21620/ft1_filtered_4FGL_J0757.1+0956_daily_bin277.fits scfile=/scratch/kocevski/21620/ft2_4FGL_J0757.1+0956_daily_bin277.fits outfile=/scratch/kocevski/21620/cmap_311126401_311385601_4FGL_J0757.1+0956_daily_bin277.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=119.286 yref=9.9491 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.82
user 0.38
sys 0.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21620/ft1_filtered_4FGL_J0757.1+0956_daily_bin277.fits scfile=/scratch/kocevski/21620/ft2_4FGL_J0757.1+0956_daily_bin277.fits outfile=/scratch/kocevski/21620/cmap_HighResolution_311126401_311385601_4FGL_J0757.1+0956_daily_bin277.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=119.286 yref=9.9491 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.82
user 0.39
sys 0.43

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/21620/ft1_filtered_4FGL_J0757.1+0956_daily_bin277.fits evtable="EVENTS" scfile=/scratch/kocevski/21620/ft2_4FGL_J0757.1+0956_daily_bin277.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/21620/Model_4FGL_J0757.1+0956_daily_bin277.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
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/21620/ft1_filtered_4FGL_J0757.1+0956_daily_bin277.fits.....................!
real 90.22
user 88.29
sys 1.56

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/21620/ft1_filtered_4FGL_J0757.1+0956_daily_bin277.fits', '/scratch/kocevski/21620/ft2_4FGL_J0757.1+0956_daily_bin277.fits', expMap='/scratch/kocevski/21620/expmap_311126401_311385601_4FGL_J0757.1+0956_daily_bin277.fits', expCube='/scratch/kocevski/21620/ltcube_311126401_311385601_4FGL_J0757.1+0956_daily_bin277.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/21620/Model_4FGL_J0757.1+0956_daily_bin277.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0757.1+0956'

4FGL J0757.1+0956
   Spectrum: PowerLaw
272    Prefactor:  8.647e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  2.151e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.423e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/21620/ft1_filtered_4FGL_J0757.1+0956_daily_bin277.fits
Spacecraft file(s): /scratch/kocevski/21620/ft2_4FGL_J0757.1+0956_daily_bin277.fits
Exposure map: /scratch/kocevski/21620/expmap_311126401_311385601_4FGL_J0757.1+0956_daily_bin277.fits
Exposure cube: /scratch/kocevski/21620/ltcube_311126401_311385601_4FGL_J0757.1+0956_daily_bin277.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/21620/Model_4FGL_J0757.1+0956_daily_bin277.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) = 6892.95053141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23708E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.9152       1.0000         .10000E-03   10000.    
     3 'Prefactor '    47.885       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .20190E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.6611       1.0000         .10000E-03   10000.    
     6 'norm      '    .12923E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.446       1.0000         .10000E-03   10000.    
     8 'Prefactor '    30.492       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.0456       1.0000         .10000E-03   10000.    
    10 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.899       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.864       1.0000         .10000E-03   10000.    
    15 'norm      '    10.394       1.0000         .10000E-03   10000.    
    16 'norm      '    2.5895       1.0000         .10000E-03   10000.    
    17 'norm      '    1.1132       1.0000         .10000E-03   10000.    
    18 'Prefactor '    56.385       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    52.759       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1088       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0988       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6892.933     FROM MIGRAD    STATUS=CONVERGED    543 CALLS     2613 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0605        .73273E-07** at limit **
   2  norm          4.9150        1.6756        .72266E-09   -.22050E-04
   3  Prefactor     47.890        53.318        .37931E-06   -.39151E-05
   4  Prefactor     .10000E-03    144.10        .19044E-05** at limit **
   5  norm          1.6596        1.7720        .45688E-07   -.15747E-04
   6  norm          .10000E-03    1.0646       -.72190E-07** at limit **
   7  Prefactor     13.454        12.283       -.93492E-07    .13310E-04
   8  Prefactor     30.487        37.597       -.17881E-06   -.39623E-06
   9  Prefactor     4.0458        3.2469       -.14577E-07    .11295E-05
  10  norm          .10000E-03    6.8084       -.77934E-07** at limit **
  11  Prefactor     21.901        13.808       -.11153E-06   -.74364E-05
  12  Prefactor     .10000E-03    88.791       -.24512E-06** at limit **
  13  norm          .10000E-03    60.244        .11256E-06** at limit **
  14  Prefactor     10.739        44.239        .68878E-05   -.12514E-04
  15  norm          10.388        17.032       -.50180E-06   -.28176E-04
  16  norm          2.6144        48.740       -.10036E-04   -.37338E-04
  17  norm          1.1182        6.8565        .15875E-05   -.31460E-04
  18  Prefactor     56.386        44.603        .54492E-06    .20252E-04
  19  Prefactor     .10000E-03    5.3658        .18606E-07** at limit **
  20  norm          .10000E-03    .38281        .71623E-07** at limit **
  21  Prefactor     52.748        47.565       -.36044E-06   -.50467E-05
  22  Normalizat    1.1083        .24122        .21787E-05   -.79101E-04
  23  Prefactor     1.0991        .14995       -.12315E-05    .62604E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 4.91503
  Prefactor  = 47.8904
  Prefactor  = 0.0001
  norm       = 1.65963
  norm       = 0.0001
  Prefactor  = 13.4542
  Prefactor  = 30.4875
  Prefactor  = 4.04582
  norm       = 0.0001
  Prefactor  = 21.9012
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.7393
  norm       = 10.3883
  norm       = 2.61443
  norm       = 1.11821
  Prefactor  = 56.3857
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 52.7479
  Normalizat = 1.10831
  Prefactor  = 1.09914
 **********
 **   18 **HESSE 
 **********

 FCN=   6892.933     FROM HESSE     STATUS=OK           378 CALLS     2991 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.6656        .16137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.9150        1.6734        .60090E-04   -1.5265    
   3  Prefactor     47.890        53.050        .57946E-04   -1.4323    
   4  Prefactor     .10000E-03    144.74        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.6596        1.7907        .90139E-04   -1.5450    
   6  norm          .10000E-03    3.3959        .16279E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.454        12.474        .10923E-03   -1.4974    
   8  Prefactor     30.487        37.588        .72559E-04   -1.4603    
   9  Prefactor     4.0458        3.2438        .12735E-03   -1.5306    
  10  norm          .10000E-03    6.8108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     21.901        13.805        .85592E-04   -1.4772    
  12  Prefactor     .10000E-03    88.625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    60.259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.739        43.747        .12155E-03   -1.5052    
  15  norm          10.388        16.904        .12428E-03   -1.5063    
  16  norm          2.6144        50.171        .25357E-03   -1.5385    
  17  norm          1.1182        6.5081        .38513E-03   -1.5496    
  18  Prefactor     56.386        44.816        .53422E-04   -1.4205    
  19  Prefactor     .10000E-03    5.3720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .51012        .99529E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     52.748        47.609        .55218E-04   -1.4254    
  22  Normalizat    1.1083        .27083        .32617E-03   -.89485    
  23  Prefactor     1.0991        .16760        .21471E-03   -.89494    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26244e-10
Minuit parameter uncertainties:
  1  0.000116143
  2  1.67344
  3  53.1019
  4  0.00042114
  5  1.79079
  6  1.61075e-05
  7  12.4767
  8  37.6172
  9  3.24393
  10  6.31718e-07
  11  13.8075
  12  0.000247174
  13  4.12402e-05
  14  43.4051
  15  16.9121
  16  22.9275
  17  5.39597
  18  44.8426
  19  2.98784e-06
  20  4.0515e-06
  21  47.6429
  22  0.271169
  23  0.167679
Done.

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

Extracting fit parameters...

4FGL J0757.1+0956
   Spectrum: PowerLaw
272    Prefactor:  2.190e+01  1.381e+01  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  2.151e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.423e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.099e+00  1.677e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.108e+00  2.712e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.34
Ra Dec: 119.286 9.949
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 5.75e-08 +/- 3.62e-08
Energy Flux (Fixed Index): 2.84e-05 +/- 1.79e-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) = 6892.93322926
delta logL = 0.000128680808302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6892.93309863
delta logL = 0.000259301994447

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6892.933     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      251 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.597        20.491        .86182E-04    .84410E-03
   2  Index         2.1650        .67835        .71412E-02    .22625E-03
   3  Normalizat    1.1075        .25092        .32626E-03   -.42590E-03
   4  Prefactor     1.0995        .16358        .21468E-03   -.68868E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.5967
  Index      = 2.16496
  Normalizat = 1.10755
  Prefactor  = 1.09946
 **********
 **   18 **HESSE 
 **********

 FCN=   6892.933     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.597        19.126        .17236E-04   -1.4778    
   2  Index         2.1650        .63296        .28565E-03   -.60287    
   3  Normalizat    1.1075        .25077        .65253E-04   -.89510    
   4  Prefactor     1.0995        .16359        .42936E-04   -.89484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15321e-09
Minuit parameter uncertainties:
  1  19.131
  2  0.63548
  3  0.251037
  4  0.16366
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21620': 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) = 6892.93309559
delta logL = 0.000262348565229

Extracting fit parameters...

4FGL J0757.1+0956
   Spectrum: PowerLaw
272    Prefactor:  2.160e+01  1.913e+01  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  2.165e+00  6.355e-01  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  1.423e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.099e+00  1.637e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.108e+00  2.510e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.33
Ra Dec: 119.286 9.949
Photon Index (Free Index): 2.16 +/- 0.64
Photon Flux (Free Index): 5.82e-08 +/- 4.72e-08
Energy Flux (Free Index): 2.79e-05 +/- 2.68e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/21620/cmap_HighResolution_311126401_311385601_4FGL_J0757.1+0956_daily_bin277.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.75e-08', energy_flux2='2.79e-05', photon_flux_error='3.62e-08', dlogl='2.62e-04', energy_flux='2.84e-05', photon_flux2='5.82e-08', job_status='DONE', time_completed='2021-08-28 20:29:05.858608', photon_index_error2='0.64', photon_index2='2.16', ts='5.34', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='2.68e-05', EG='1.11', time_epoch_completed='1630207745.86', return_code='0', job_id='21620', GAL2='1.10', EG2='1.11', return_code2='0', energy_flux_error='1.79e-05', photon_flux_error2='4.72e-08', ts2='5.33', photon_index='2.15' WHERE bin_id='277' AND source_name='4FGL J0757.1+0956' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 20:29:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 21620: <4FGL_J0757.1+0956_daily_bin277> in cluster <slac> Done

Job <4FGL_J0757.1+0956_daily_bin277> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 20:15:24 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 20:15:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 20:15:25 2021
Terminated at Sat Aug 28 20:29:06 2021
Results reported at Sat Aug 28 20:29:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0757.1+0956_daily_bin277 119.286 9.9491 311126401 311385601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0757.1+0956 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   662.06 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   821 sec.
    Turnaround time :                            822 sec.

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

