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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin288
RA = 118.491, Dec = 9.3904
tmin = 313977601, tmax = 314236801
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='990812', job_status='RUN', time_executed='2021-08-28 18:43:01.423131', time_epoch_executed='1630201381.42' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='288'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/990812

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/990812/ft1_4FGL_J0753.9+0923_daily_bin288.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/990812/ft2_4FGL_J0753.9+0923_daily_bin288.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/990812/ft1_4FGL_J0753.9+0923_daily_bin288.fits outfile=/scratch/kocevski/990812/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin288.fits ra=118.491 dec=9.3904 rad=12.0 tmin=313977601.0 tmax=314236801.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.76
user 3.15
sys 0.50

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/990812/ft2_4FGL_J0753.9+0923_daily_bin288.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/990812/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin288.fits evtable="EVENTS" outfile="/scratch/kocevski/990812/ft1_filtered_4FGL_J0753.9+0923_daily_bin288.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.84
user 0.32
sys 0.46

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/990812/ft1_filtered_4FGL_J0753.9+0923_daily_bin288.fits" evtable="EVENTS" scfile=/scratch/kocevski/990812/ft2_4FGL_J0753.9+0923_daily_bin288.fits sctable="SC_DATA" outfile=/scratch/kocevski/990812/ltcube_313977601_314236801_4FGL_J0753.9+0923_daily_bin288.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/990812/ft2_4FGL_J0753.9+0923_daily_bin288.fits
.....................!
real 12.38
user 11.67
sys 0.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/990812/ft1_filtered_4FGL_J0753.9+0923_daily_bin288.fits evtable="EVENTS" scfile=/scratch/kocevski/990812/ft2_4FGL_J0753.9+0923_daily_bin288.fits sctable="SC_DATA" expcube=/scratch/kocevski/990812/ltcube_313977601_314236801_4FGL_J0753.9+0923_daily_bin288.fits outfile=/scratch/kocevski/990812/expmap_313977601_314236801_4FGL_J0753.9+0923_daily_bin288.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/990812/ltcube_313977601_314236801_4FGL_J0753.9+0923_daily_bin288.fits
.....................!
real 191.98
user 186.85
sys 4.55

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/990812/ft1_filtered_4FGL_J0753.9+0923_daily_bin288.fits scfile=/scratch/kocevski/990812/ft2_4FGL_J0753.9+0923_daily_bin288.fits outfile=/scratch/kocevski/990812/cmap_313977601_314236801_4FGL_J0753.9+0923_daily_bin288.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.83
user 0.36
sys 0.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/990812/ft1_filtered_4FGL_J0753.9+0923_daily_bin288.fits scfile=/scratch/kocevski/990812/ft2_4FGL_J0753.9+0923_daily_bin288.fits outfile=/scratch/kocevski/990812/cmap_HighResolution_313977601_314236801_4FGL_J0753.9+0923_daily_bin288.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.83
user 0.39
sys 0.43

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/990812/ft1_filtered_4FGL_J0753.9+0923_daily_bin288.fits', '/scratch/kocevski/990812/ft2_4FGL_J0753.9+0923_daily_bin288.fits', expMap='/scratch/kocevski/990812/expmap_313977601_314236801_4FGL_J0753.9+0923_daily_bin288.fits', expCube='/scratch/kocevski/990812/ltcube_313977601_314236801_4FGL_J0753.9+0923_daily_bin288.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/990812/Model_4FGL_J0753.9+0923_daily_bin288.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/990812/ft1_filtered_4FGL_J0753.9+0923_daily_bin288.fits
Spacecraft file(s): /scratch/kocevski/990812/ft2_4FGL_J0753.9+0923_daily_bin288.fits
Exposure map: /scratch/kocevski/990812/expmap_313977601_314236801_4FGL_J0753.9+0923_daily_bin288.fits
Exposure cube: /scratch/kocevski/990812/ltcube_313977601_314236801_4FGL_J0753.9+0923_daily_bin288.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/990812/Model_4FGL_J0753.9+0923_daily_bin288.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) = 6586.13757999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .90645       1.0000         .10000E-03   10000.    
     3 'norm      '    3.1515       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.686       1.0000         .10000E-03   10000.    
     6 'norm      '    3.7365       1.0000         .10000E-03   10000.    
     7 'norm      '    5.3370       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.5792       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.785       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11008E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.3555       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.5361       1.0000         .10000E-03   10000.    
    14 'Prefactor '    105.79       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.158       1.0000         .10000E-03   10000.    
    17 'norm      '    7.8632       1.0000         .10000E-03   10000.    
    18 'norm      '    8.4938       1.0000         .10000E-03   10000.    
    19 'norm      '    8.0509       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.305       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .72959       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1385       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=   6586.020     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2359 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.745       -.36495E-05** at limit **
   2  norm          .90622        1.7457        .52722E-06    .76683E-03
   3  norm          3.1515        1.3952        .16279E-07    .68166E-04
   4  Prefactor     .10000E-03    24.316       -.81709E-06** at limit **
   5  Prefactor     20.697        36.052       -.24382E-05   -.13521E-04
   6  norm          3.7366        1.8975       -.15408E-07    .47382E-04
   7  norm          5.3375        2.3682        .89992E-07    .26574E-04
   8  Prefactor     5.5769        11.460        .22465E-06    .23511E-04
   9  Prefactor     13.799        47.211       -.36516E-05    .19038E-05
  10  Prefactor     .10000E-03    14.845       -.31657E-06** at limit **
  11  Prefactor     .10000E-03    1.7181       -.32172E-06** at limit **
  12  norm          3.3530        17.995       -.16532E-05    .68497E-05
  13  Prefactor     2.5350        8.2157        .55736E-05   -.60923E-04
  14  Prefactor     105.79        106.06        .12587E-06    .96791E-05
  15  norm          .10000E-03    39.871        .29913E-05** at limit **
  16  Prefactor     18.157        20.645       -.12630E-07   -.71645E-05
  17  norm          7.8643        12.731        .18410E-06    .32477E-05
  18  norm          8.4941        16.976        .68794E-06   -.32963E-04
  19  norm          8.0512        4.7329        .18168E-07   -.53445E-05
  20  Prefactor     .10000E-03    21.496        .20198E-05** at limit **
  21  Prefactor     19.304        14.580        .87642E-09   -.90683E-05
  22  norm          .10000E-03    .33740       -.29730E-07** at limit **
  23  Normalizat    .72970        .20868       -.25412E-06    .28663E-04
  24  Prefactor     1.1384        .13100       -.12490E-06    .17174E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.906223
  norm       = 3.15155
  Prefactor  = 0.0001
  Prefactor  = 20.6968
  norm       = 3.7366
  norm       = 5.33751
  Prefactor  = 5.57686
  Prefactor  = 13.7986
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.35297
  Prefactor  = 2.53495
  Prefactor  = 105.793
  norm       = 0.0001
  Prefactor  = 18.1572
  norm       = 7.86431
  norm       = 8.49414
  norm       = 8.05124
  Prefactor  = 0.0001
  Prefactor  = 19.3036
  norm       = 0.0001
  Normalizat = 0.729699
  Prefactor  = 1.13838
 **********
 **   18 **HESSE 
 **********

 FCN=   6586.020     FROM HESSE     STATUS=OK           409 CALLS     2768 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .90622        1.5820        .13943E-02   -1.5518    
   3  norm          3.1515        1.3928        .60923E-04   -1.5353    
   4  Prefactor     .10000E-03    24.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.697        35.841        .88065E-04   -1.4798    
   6  norm          3.7366        1.9045        .67191E-04   -1.5321    
   7  norm          5.3375        2.3665        .78604E-04   -1.5246    
   8  Prefactor     5.5769        11.520        .17008E-03   -1.5236    
   9  Prefactor     13.799        47.138        .10788E-03   -1.4965    
  10  Prefactor     .10000E-03    14.852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.8008        .19787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.3530        17.900        .22093E-03   -1.5342    
  13  Prefactor     2.5350        8.1858        .12823E-02   -1.5390    
  14  Prefactor     105.79        105.73        .39097E-04   -1.3647    
  15  norm          .10000E-03    39.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.157        20.631        .93990E-04   -1.4855    
  17  norm          7.8643        12.710        .14299E-03   -1.5147    
  18  norm          8.4941        16.956        .68773E-03   -1.5125    
  19  norm          8.0512        4.7273        .12974E-03   -1.5140    
  20  Prefactor     .10000E-03    21.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     19.304        14.616        .91157E-04   -1.4829    
  22  norm          .10000E-03    .34539        .46010E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .72970        .22682        .34971E-03   -1.0273    
  24  Prefactor     1.1384        .14514        .18957E-03   -.88249    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.73225e-10
Minuit parameter uncertainties:
  1  2.66674e-05
  2  1.58206
  3  1.39285
  4  1.41393e-05
  5  35.8787
  6  1.90454
  7  2.36653
  8  11.5243
  9  47.2653
  10  1.91289e-06
  11  1.63994e-05
  12  15.5014
  13  8.1894
  14  105.914
  15  3.4298e-05
  16  20.6395
  17  12.7148
  18  16.9653
  19  4.72752
  20  5.05285e-05
  21  14.6183
  22  6.43298e-07
  23  0.227109
  24  0.145189
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  3.353e+00  1.550e+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:  1.138e+00  1.452e-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:  7.297e-01  2.271e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/990812/likelihoodResults_313977601_314236801_4FGL_J0753.9+0923_daily_bin288.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) = 6585.92538085
delta logL = 0.094996822515

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6585.92127273
delta logL = 0.0991049396098

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6168       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2719       1.0000          .0000       5.0000    
     3 'Normalizat'    .71980       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1409       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6585.921     FROM MIGRAD    STATUS=FAILED       100 CALLS      260 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6117        26.366        .12607E-02    .53271E-03
   2  alpha         3.2727        3.9742        .28354E-01    .20139E-03
   3  Normalizat    .71973        .21001        .35192E-03   -.29074E-05
   4  Prefactor     1.1410        .13932        .18936E-03    .49230E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6585.921     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      344 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6117        26.366        .29178E-03   -1.5385    
   2  alpha         3.2727        3.9742        .41255E-02    .31420    
   3  Normalizat    .71973        .21001        .40841E-03   -1.0312    
   4  Prefactor     1.1410        .13932        .22536E-03   -.88168    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6585.921     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      377 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6117        9.1433        .25214E-03   -.39228E-05
   2  alpha         3.2727        1.6294        .56708E-02    .75038E-05
   3  Normalizat    .71973        .21008        .14077E-04   -.29074E-05
   4  Prefactor     1.1410        .13921        .75745E-05    .51031E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.61166
  alpha      = 3.27265
  Normalizat = 0.719726
  Prefactor  = 1.14097
 **********
 **   18 **HESSE 
 **********

 FCN=   6585.921     FROM HESSE     STATUS=OK            25 CALLS      402 TOTAL
                     EDM=   .24E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6117        8.6267        .10085E-04   -1.5385    
   2  alpha         3.2727        1.5538        .11342E-02    .31420    
   3  Normalizat    .71973        .21008        .28153E-05   -1.0312    
   4  Prefactor     1.1410        .13921        .15149E-05   -.88168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44154e-13
Minuit parameter uncertainties:
  1  8.63077
  2  1.69344
  3  0.210317
  4  0.139257
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/990812': 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) = 6585.92127245
delta logL = 0.0991052168756

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  2.612e+00  8.631e+00  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  3.273e+00  1.693e+00  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:  1.141e+00  1.393e-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:  7.197e-01  2.103e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 118.491 9.390

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/990812/cmap_HighResolution_313977601_314236801_4FGL_J0753.9+0923_daily_bin288.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.72e-05', job_status='DONE', photon_flux_upper_limit='5.88e-08', time_completed='2021-08-28 18:54:44.034808', job_id='990812', GAL2='1.14', fit_tolerance='1e-08', EG2='0.72', EG='0.73', time_epoch_completed='1630202084.03', return_code2='0', ts='0.06', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='9.91e-02', ts2='0.26', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='288' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:54:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 990812: <4FGL_J0753.9+0923_daily_bin288> in cluster <slac> Done

Job <4FGL_J0753.9+0923_daily_bin288> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 18:40:36 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:40:38 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:40:38 2021
Terminated at Sat Aug 28 18:54:44 2021
Results reported at Sat Aug 28 18:54:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin288 118.491 9.3904 313977601 314236801 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 :                                   701.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            848 sec.

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

