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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin235
RA = 118.491, Dec = 9.3904
tmin = 300240001, tmax = 300499201
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='990737', job_status='RUN', time_executed='2021-08-28 18:43:38.989985', time_epoch_executed='1630201418.99' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='235'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/990737

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/990737/ft1_4FGL_J0753.9+0923_daily_bin235.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/990737/ft2_4FGL_J0753.9+0923_daily_bin235.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/990737/ft1_4FGL_J0753.9+0923_daily_bin235.fits outfile=/scratch/kocevski/990737/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin235.fits ra=118.491 dec=9.3904 rad=12.0 tmin=300240001.0 tmax=300499201.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.64
user 3.17
sys 0.41

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/990737/ft1_filtered_4FGL_J0753.9+0923_daily_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/990737/ft2_4FGL_J0753.9+0923_daily_bin235.fits sctable="SC_DATA" expcube=/scratch/kocevski/990737/ltcube_300240001_300499201_4FGL_J0753.9+0923_daily_bin235.fits outfile=/scratch/kocevski/990737/expmap_300240001_300499201_4FGL_J0753.9+0923_daily_bin235.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/990737/ltcube_300240001_300499201_4FGL_J0753.9+0923_daily_bin235.fits
.....................!
real 190.42
user 185.30
sys 4.53

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/990737/ft1_filtered_4FGL_J0753.9+0923_daily_bin235.fits scfile=/scratch/kocevski/990737/ft2_4FGL_J0753.9+0923_daily_bin235.fits outfile=/scratch/kocevski/990737/cmap_300240001_300499201_4FGL_J0753.9+0923_daily_bin235.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.74
user 0.39
sys 0.33

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/990737/ft1_filtered_4FGL_J0753.9+0923_daily_bin235.fits scfile=/scratch/kocevski/990737/ft2_4FGL_J0753.9+0923_daily_bin235.fits outfile=/scratch/kocevski/990737/cmap_HighResolution_300240001_300499201_4FGL_J0753.9+0923_daily_bin235.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.79
user 0.38
sys 0.36

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .56617       1.0000         .10000E-03   10000.    
     3 'norm      '    2.7664       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.4136       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.5372       1.0000         .10000E-03   10000.    
     6 'norm      '    4.4208       1.0000         .10000E-03   10000.    
     7 'norm      '    4.7654       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.5759       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10236E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.157       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.1593       1.0000         .10000E-03   10000.    
    12 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.7698       1.0000         .10000E-03   10000.    
    14 'Prefactor '    185.26       1.0000         .10000E-03   10000.    
    15 'norm      '    .15511E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    54.110       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    40.364       1.0000         .10000E-03   10000.    
    19 'norm      '    2.8162       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.8842       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .83119       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1753       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=   6599.524     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2746 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.277       -.28033E-07** at limit **
   2  norm          .56559        1.7019        .16222E-05    .46277E-04
   3  norm          2.7666        1.5384        .50889E-07   -.69142E-04
   4  Prefactor     5.4402        215.01       -.71663E-06   -.44699E-05
   5  Prefactor     6.6014        81.239        .15767E-05    .10488E-04
   6  norm          4.4211        2.6013       -.77463E-07    .17267E-05
   7  norm          4.7648        2.4322        .21192E-07   -.19108E-03
   8  Prefactor     7.5751        15.969        .57285E-06    .12689E-04
   9  Prefactor     .10000E-03    29.257       -.40544E-07** at limit **
  10  Prefactor     17.153        52.275        .90004E-07   -.70977E-06
  11  Prefactor     3.1593        3.9620        .29789E-06   -.18721E-04
  12  norm          .10000E-03    7.4049       -.26763E-08** at limit **
  13  Prefactor     7.7709        7.5770        .19205E-07    .16130E-04
  14  Prefactor     185.21        164.94       -.31728E-05   -.56237E-04
  15  norm          .10000E-03    283.08        .20649E-05** at limit **
  16  Prefactor     54.105        44.426       -.17394E-06   -.22225E-04
  17  norm          .10000E-03    3.5293       -.12981E-07** at limit **
  18  norm          40.368        29.228        .63810E-07   -.13324E-04
  19  norm          2.8159        3.3355        .92996E-07   -.87590E-05
  20  Prefactor     .10000E-03    13.016       -.30821E-07** at limit **
  21  Prefactor     .10000E-03    4.6592       -.30570E-07** at limit **
  22  norm          3.8842        1.4065        .14143E-07   -.18699E-04
  23  Normalizat    .83122        .22860        .83987E-06   -.10313E-03
  24  Prefactor     1.1753        .14401       -.10734E-05   -.81861E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.565594
  norm       = 2.76659
  Prefactor  = 5.44023
  Prefactor  = 6.60141
  norm       = 4.42109
  norm       = 4.76482
  Prefactor  = 7.57513
  Prefactor  = 0.0001
  Prefactor  = 17.1535
  Prefactor  = 3.15935
  norm       = 0.0001
  Prefactor  = 7.77093
  Prefactor  = 185.206
  norm       = 0.000100001
  Prefactor  = 54.1048
  norm       = 0.0001
  norm       = 40.3681
  norm       = 2.81587
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.88423
  Normalizat = 0.831223
  Prefactor  = 1.17528
 **********
 **   18 **HESSE 
 **********

 FCN=   6599.524     FROM HESSE     STATUS=OK           403 CALLS     3149 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .56559        1.7085        .17458E-03   -1.5558    
   3  norm          2.7666        1.5337        .71182E-04   -1.5375    
   4  Prefactor     5.4402        214.72        .17271E-03   -1.5241    
   5  Prefactor     6.6014        81.185        .15696E-03   -1.5194    
   6  norm          4.4211        2.6536        .74587E-04   -1.5287    
   7  norm          4.7648        2.4290        .85033E-04   -1.5271    
   8  Prefactor     7.5751        16.224        .14570E-03   -1.5157    
   9  Prefactor     .10000E-03    29.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     17.153        52.068        .96692E-04   -1.4879    
  11  Prefactor     3.1593        3.9632        .16504E-03   -1.5352    
  12  norm          .10000E-03    7.4210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.7709        7.5814        .14386E-03   -1.5150    
  14  Prefactor     185.21        166.94        .14832E-03   -1.2978    
  15  norm          .10000E-03    286.02        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     54.105        44.485        .54528E-04   -1.4236    
  17  norm          .10000E-03    3.5319        .14905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          40.368        29.221        .63092E-04   -1.4436    
  19  norm          2.8159        3.3272        .15620E-03   -1.5372    
  20  Prefactor     .10000E-03    13.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.6667        .17124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.8842        1.4072        .55993E-04   -1.5314    
  23  Normalizat    .83122        .25261        .35724E-03   -.98921    
  24  Prefactor     1.1753        .15904        .19959E-03   -.87095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.94678e-11
Minuit parameter uncertainties:
  1  6.83851e-06
  2  1.70867
  3  1.53369
  4  68.6208
  5  46.3786
  6  2.65365
  7  2.42908
  8  16.2335
  9  1.46002e-06
  10  52.2068
  11  3.9635
  12  3.25707e-07
  13  7.58235
  14  167.366
  15  0.000971154
  16  44.5121
  17  5.57018e-07
  18  29.2313
  19  3.32738
  20  7.62587e-07
  21  7.91967e-07
  22  1.40723
  23  0.252963
  24  0.15911
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.000e-04  3.257e-07  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.175e+00  1.591e-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:  8.312e-01  2.530e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/990737/likelihoodResults_300240001_300499201_4FGL_J0753.9+0923_daily_bin235.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) = 6599.52446662
delta logL = -0.000638817170511

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6599.52382778
delta logL = 2.17060005525e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4509       1.0000          .0000       5.0000    
     3 'Normalizat'    .83120       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1753       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6599.488     FROM MIGRAD    STATUS=FAILED       138 CALLS      275 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .92246E-01    18.023        .13770E-01    .12150E-02
   2  alpha         5.0000        2.5003        .50000    ** at limit **
   3  Normalizat    .80867        .89421E-01    .35724E-03    .17831E-03
   4  Prefactor     1.1838        .44053E-01    .19959E-03    .24485E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6599.488     FROM SIMPLEX   STATUS=UNCHANGED    141 CALLS      416 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .92246E-01    18.023        .84093E-05    .12150E-02
   2  alpha         5.0000        2.5003        .11840E-01** at limit **
   3  Normalizat    .80867        .89421E-01    .46172E-06    .17831E-03
   4  Prefactor     1.1838        .44053E-01    .12033E-07    .24485E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6599.488     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      486 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .92251E-01    .35745        .68106E-03    .10991E-01
   2  alpha         5.0000        3.9250        .15200    ** at limit **
   3  Normalizat    .80867        .24219        .14290E-04    .13111E-03
   4  Prefactor     1.1838        .15212        .39918E-04    .98541E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0922506
  alpha      = 5
  Normalizat = 0.808669
  Prefactor  = 1.18379
 **********
 **   18 **HESSE 
 **********

 FCN=   6599.488     FROM HESSE     STATUS=OK            25 CALLS      511 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .92251E-01    .35502        .13621E-03   -1.5647    
   2  alpha         5.0000        3.8995        .30400E-01   -4.7124    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .80867        .24087        .28579E-05   -.99748    
   4  Prefactor     1.1838        .15185        .79836E-05   -.86832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.74326e-10
Minuit parameter uncertainties:
  1  0.355031
  2  0.000121339
  3  0.241193
  4  0.151911
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/990737': 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) = 6599.48822306
delta logL = 0.0356047408541

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  9.225e-02  3.550e-01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  5.000e+00  1.213e-04  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.184e+00  1.519e-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:  8.087e-01  2.412e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 118.491 9.390

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/990737/cmap_HighResolution_300240001_300499201_4FGL_J0753.9+0923_daily_bin235.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.98e-05', job_status='DONE', photon_flux_upper_limit='4.29e-08', time_completed='2021-08-28 18:56:01.931001', job_id='990737', GAL2='1.18', fit_tolerance='1e-08', EG2='0.81', EG='0.83', time_epoch_completed='1630202161.93', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='3.56e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='235' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:56:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 990737: <4FGL_J0753.9+0923_daily_bin235> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin235 118.491 9.3904 300240001 300499201 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 :                                   741.39 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             278.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            931 sec.

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

