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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin591
RA = 118.491, Dec = 9.3904
tmin = 392515201, tmax = 392774401
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='994371', job_status='RUN', time_executed='2021-08-28 18:53:35.338559', time_epoch_executed='1630202015.34' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='591'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/994371

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/994371/ft1_4FGL_J0753.9+0923_daily_bin591.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/994371/ft2_4FGL_J0753.9+0923_daily_bin591.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/994371/ft1_4FGL_J0753.9+0923_daily_bin591.fits outfile=/scratch/kocevski/994371/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin591.fits ra=118.491 dec=9.3904 rad=12.0 tmin=392515201.0 tmax=392774401.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.58
user 3.13
sys 0.42

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/994371/ft2_4FGL_J0753.9+0923_daily_bin591.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/994371/ft2_4FGL_J0753.9+0923_daily_bin591.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/994371/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin591.fits evtable="EVENTS" outfile="/scratch/kocevski/994371/ft1_filtered_4FGL_J0753.9+0923_daily_bin591.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.74
user 0.33
sys 0.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/994371/ft1_filtered_4FGL_J0753.9+0923_daily_bin591.fits" evtable="EVENTS" scfile=/scratch/kocevski/994371/ft2_4FGL_J0753.9+0923_daily_bin591.fits sctable="SC_DATA" outfile=/scratch/kocevski/994371/ltcube_392515201_392774401_4FGL_J0753.9+0923_daily_bin591.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/994371/ft2_4FGL_J0753.9+0923_daily_bin591.fits
.....................!
real 12.33
user 11.69
sys 0.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/994371/ft1_filtered_4FGL_J0753.9+0923_daily_bin591.fits evtable="EVENTS" scfile=/scratch/kocevski/994371/ft2_4FGL_J0753.9+0923_daily_bin591.fits sctable="SC_DATA" expcube=/scratch/kocevski/994371/ltcube_392515201_392774401_4FGL_J0753.9+0923_daily_bin591.fits outfile=/scratch/kocevski/994371/expmap_392515201_392774401_4FGL_J0753.9+0923_daily_bin591.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/994371/ltcube_392515201_392774401_4FGL_J0753.9+0923_daily_bin591.fits
.....................!
real 191.54
user 185.43
sys 4.87

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 166 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 J0753.9+0923 @ 118.491 9.3904

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/994371/ft1_filtered_4FGL_J0753.9+0923_daily_bin591.fits scfile=/scratch/kocevski/994371/ft2_4FGL_J0753.9+0923_daily_bin591.fits outfile=/scratch/kocevski/994371/cmap_392515201_392774401_4FGL_J0753.9+0923_daily_bin591.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=118.491 yref=9.3904 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.75
user 0.36
sys 0.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/994371/ft1_filtered_4FGL_J0753.9+0923_daily_bin591.fits scfile=/scratch/kocevski/994371/ft2_4FGL_J0753.9+0923_daily_bin591.fits outfile=/scratch/kocevski/994371/cmap_HighResolution_392515201_392774401_4FGL_J0753.9+0923_daily_bin591.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=118.491 yref=9.3904 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.74
user 0.38
sys 0.35

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/994371/ft1_filtered_4FGL_J0753.9+0923_daily_bin591.fits evtable="EVENTS" scfile=/scratch/kocevski/994371/ft2_4FGL_J0753.9+0923_daily_bin591.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/994371/Model_4FGL_J0753.9+0923_daily_bin591.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/994371/ft1_filtered_4FGL_J0753.9+0923_daily_bin591.fits.....................!
real 88.48
user 86.38
sys 1.49

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/994371/ft1_filtered_4FGL_J0753.9+0923_daily_bin591.fits', '/scratch/kocevski/994371/ft2_4FGL_J0753.9+0923_daily_bin591.fits', expMap='/scratch/kocevski/994371/expmap_392515201_392774401_4FGL_J0753.9+0923_daily_bin591.fits', expCube='/scratch/kocevski/994371/ltcube_392515201_392774401_4FGL_J0753.9+0923_daily_bin591.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/994371/Model_4FGL_J0753.9+0923_daily_bin591.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0753.9+0923'

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  2.323e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/994371/ft1_filtered_4FGL_J0753.9+0923_daily_bin591.fits
Spacecraft file(s): /scratch/kocevski/994371/ft2_4FGL_J0753.9+0923_daily_bin591.fits
Exposure map: /scratch/kocevski/994371/expmap_392515201_392774401_4FGL_J0753.9+0923_daily_bin591.fits
Exposure cube: /scratch/kocevski/994371/ltcube_392515201_392774401_4FGL_J0753.9+0923_daily_bin591.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/994371/Model_4FGL_J0753.9+0923_daily_bin591.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) = 6556.89172221

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.134       1.0000         .10000E-03   10000.    
     2 'norm      '    .70492       1.0000         .10000E-03   10000.    
     3 'norm      '    2.2368       1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.037       1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.577       1.0000         .10000E-03   10000.    
     6 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.2329       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.8025       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    103.72       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.4781       1.0000         .10000E-03   10000.    
    12 'norm      '    15.618       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.3991       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10796E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.8253       1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.865       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    2.7179       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.7112       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .62376       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6556.888     FROM MIGRAD    STATUS=CONVERGED    543 CALLS     2759 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.129        41.222       -.55344E-05    .10165E-03
   2  norm          .70280        2.1482       -.11352E-05   -.14274E-02
   3  norm          2.2366        1.4263       -.15682E-06   -.35114E-03
   4  Prefactor     23.037        64.154       -.11633E-05    .43677E-04
   5  Prefactor     25.581        23.932        .16647E-05   -.27015E-04
   6  norm          .10000E-03    .56404        .46049E-08** at limit **
   7  norm          4.2328        2.1622       -.12432E-06   -.80087E-04
   8  Prefactor     9.8031        9.1284       -.28836E-06   -.54328E-04
   9  Prefactor     .10000E-03    12.651       -.20139E-06** at limit **
  10  Prefactor     103.72        55.356       -.41109E-06    .13809E-04
  11  Prefactor     1.4788        3.0068       -.79595E-06   -.92254E-03
  12  norm          15.618        16.514        .86654E-08    .55368E-05
  13  Prefactor     5.3984        8.2365       -.43811E-08   -.37555E-04
  14  Prefactor     .10000E-03    63.557        .13668E-05** at limit **
  15  norm          .10000E-03    25.719       -.46465E-06** at limit **
  16  Prefactor     .10000E-03    9.0889        .71176E-07** at limit **
  17  norm          .10000E-03    2.8955       -.54468E-08** at limit **
  18  norm          .10000E-03    15.456        .83612E-06** at limit **
  19  norm          1.8251        2.4946       -.10981E-06   -.21189E-03
  20  Prefactor     13.849        33.116       -.19232E-04    .23091E-03
  21  Prefactor     .10000E-03    7.5814        .43377E-07** at limit **
  22  norm          2.7179        1.1207        .14139E-08    .11866E-03
  23  Normalizat    1.7110        .21507        .14534E-05    .54624E-04
  24  Prefactor     .62392        .13173        .11988E-05    .13049E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.129
  norm       = 0.702795
  norm       = 2.23658
  Prefactor  = 23.0368
  Prefactor  = 25.5813
  norm       = 0.0001
  norm       = 4.23282
  Prefactor  = 9.80313
  Prefactor  = 0.0001
  Prefactor  = 103.722
  Prefactor  = 1.47879
  norm       = 15.6179
  Prefactor  = 5.39842
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.82511
  Prefactor  = 13.849
  Prefactor  = 0.0001
  norm       = 2.71791
  Normalizat = 1.71099
  Prefactor  = 0.623925
 **********
 **   18 **HESSE 
 **********

 FCN=   6556.888     FROM HESSE     STATUS=OK           395 CALLS     3154 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.129        41.090        .74227E-04   -1.4628    
   2  norm          .70280        2.1995        .18579E-03   -1.5540    
   3  norm          2.2366        1.4214        .73299E-04   -1.5409    
   4  Prefactor     23.037        63.384        .83454E-04   -1.4748    
   5  Prefactor     25.581        23.941        .79209E-04   -1.4696    
   6  norm          .10000E-03    .56997        .11770E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.2328        2.1608        .81113E-04   -1.5296    
   8  Prefactor     9.8031        9.0561        .12799E-03   -1.5082    
   9  Prefactor     .10000E-03    12.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     103.72        55.557        .39481E-04   -1.3668    
  11  Prefactor     1.4788        3.0530        .19170E-03   -1.5465    
  12  norm          15.618        16.530        .10135E-03   -1.4917    
  13  Prefactor     5.3984        8.2368        .17294E-03   -1.5243    
  14  Prefactor     .10000E-03    63.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    25.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.1095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.8986        .13457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    15.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.8251        2.4788        .14560E-03   -1.5438    
  20  Prefactor     13.849        32.447        .10757E-03   -1.4964    
  21  Prefactor     .10000E-03    7.6033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.7179        1.1219        .53444E-04   -1.5378    
  23  Normalizat    1.7110        .24787        .26076E-03   -.72010    
  24  Prefactor     .62392        .15103        .24662E-03   -1.0659    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66734e-09
Minuit parameter uncertainties:
  1  41.1303
  2  2.19975
  3  1.42143
  4  63.57
  5  23.9501
  6  3.98415e-07
  7  2.16082
  8  9.05737
  9  4.60701e-06
  10  55.5852
  11  3.0533
  12  16.5351
  13  8.23853
  14  0.000110599
  15  2.02048e-05
  16  6.40322e-06
  17  1.46214e-06
  18  0.000174469
  19  2.47897
  20  32.4879
  21  1.08558e-05
  22  1.12188
  23  0.248046
  24  0.151127
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.562e+01  1.654e+01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  6.239e-01  1.511e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.711e+00  2.480e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.74
Ra Dec: 118.491 9.390
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 2.02e-08 +/- 2.14e-08
Energy Flux (Fixed Index): 9.33e-06 +/- 9.88e-06

TS (Fixed Index): 1.74
Ra Dec: 118.491 9.390
Photon Flux Upper Limit: 7.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/994371/likelihoodResults_392515201_392774401_4FGL_J0753.9+0923_daily_bin591.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) = 6556.88017067
delta logL = 0.00781857800757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6556.87493285
delta logL = 0.0130563900448

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.677       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6256       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7082       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62485       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+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=   6556.875     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      226 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.672        19.914        .10831E-03    .58429E-03
   2  alpha         2.6256        1.0333        .17187E-01    .86917E-04
   3  Normalizat    1.7082        .22564        .26092E-03   -.53448E-03
   4  Prefactor     .62484        .13680        .24645E-03   -.58500E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 13.6719
  alpha      = 2.62556
  Normalizat = 1.70823
  Prefactor  = 0.624844
 **********
 **   18 **HESSE 
 **********

 FCN=   6556.875     FROM HESSE     STATUS=OK            25 CALLS      251 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.672        18.582        .21661E-04   -1.4968    
   2  alpha         2.6256        .96794        .68748E-03    .50245E-01
   3  Normalizat    1.7082        .22567        .52185E-04   -.72084    
   4  Prefactor     .62484        .13685        .49291E-04   -1.0655    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06525e-09
Minuit parameter uncertainties:
  1  18.5895
  2  0.993985
  3  0.225806
  4  0.136925
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/994371': 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) = 6556.87493277
delta logL = 0.0130564785077

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.367e+01  1.859e+01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.626e+00  9.940e-01  0.000e+00  5.000e+00 ( 1.000e+00)
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  6.248e-01  1.369e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.708e+00  2.258e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.77
Ra Dec: 118.491 9.390
Photon Index (Free Index): 2.63 +/- 0.99
Photon Flux (Free Index): 2.26e-08 +/- 2.66e-08
Energy Flux (Free Index): 9.05e-06 +/- 9.21e-06

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/994371/cmap_HighResolution_392515201_392774401_4FGL_J0753.9+0923_daily_bin591.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.44e-05', comment='SUCCESS', photon_flux='2.02e-08', energy_flux2='9.05e-06', photon_flux_error='2.14e-08', dlogl='1.31e-02', energy_flux='9.33e-06', photon_flux2='2.26e-08', job_status='DONE', time_completed='2021-08-28 19:05:39.893190', photon_index_error2='0.99', photon_index2='2.63', ts='1.74', fit_tolerance='1e-08', GAL='0.62', photon_index_error='0.00', photon_flux_upper_limit='7.44e-08', energy_flux_error2='9.21e-06', EG='1.71', time_epoch_completed='1630202739.89', return_code='0', job_id='994371', GAL2='0.62', EG2='1.71', return_code2='0', energy_flux_error='9.88e-06', photon_flux_error2='2.66e-08', ts2='1.77', photon_index='2.46' WHERE bin_id='591' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:05:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 994371: <4FGL_J0753.9+0923_daily_bin591> in cluster <slac> Done

Job <4FGL_J0753.9+0923_daily_bin591> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 28 18:50:21 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:50:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 18:50:22 2021
Terminated at Sat Aug 28 19:05:40 2021
Results reported at Sat Aug 28 19:05:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin591 118.491 9.3904 392515201 392774401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0753.9+0923 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   722.28 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            919 sec.

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

