/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 1 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 = 7394
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1754.2+3212_daily_bin61
RA = 268.553, Dec = 32.2007
tmin = 255139201, tmax = 255398401
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='293872', job_status='RUN', time_executed='2021-09-18 21:50:36.636158', time_epoch_executed='1632027036.64' WHERE source_name='4FGL J1754.2+3212' and cadence='daily' and bin_id='61'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/293872

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/293872/ft1_4FGL_J1754.2+3212_daily_bin61.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/293872/ft2_4FGL_J1754.2+3212_daily_bin61.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/293872/ft1_4FGL_J1754.2+3212_daily_bin61.fits outfile=/scratch/kocevski/293872/ft1_filteredMKT_4FGL_J1754.2+3212_daily_bin61.fits ra=268.553 dec=32.2007 rad=12.0 tmin=255139201.0 tmax=255398401.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 7.87
user 7.24
sys 0.60

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/293872/ft2_4FGL_J1754.2+3212_daily_bin61.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/293872/ft2_4FGL_J1754.2+3212_daily_bin61.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/293872/ft1_filteredMKT_4FGL_J1754.2+3212_daily_bin61.fits evtable="EVENTS" outfile="/scratch/kocevski/293872/ft1_filtered_4FGL_J1754.2+3212_daily_bin61.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/293872/ft1_filtered_4FGL_J1754.2+3212_daily_bin61.fits" evtable="EVENTS" scfile=/scratch/kocevski/293872/ft2_4FGL_J1754.2+3212_daily_bin61.fits sctable="SC_DATA" outfile=/scratch/kocevski/293872/ltcube_255139201_255398401_4FGL_J1754.2+3212_daily_bin61.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/293872/ft2_4FGL_J1754.2+3212_daily_bin61.fits
.....................!
real 12.48
user 12.13
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/293872/ft1_filtered_4FGL_J1754.2+3212_daily_bin61.fits evtable="EVENTS" scfile=/scratch/kocevski/293872/ft2_4FGL_J1754.2+3212_daily_bin61.fits sctable="SC_DATA" expcube=/scratch/kocevski/293872/ltcube_255139201_255398401_4FGL_J1754.2+3212_daily_bin61.fits outfile=/scratch/kocevski/293872/expmap_255139201_255398401_4FGL_J1754.2+3212_daily_bin61.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/293872/ltcube_255139201_255398401_4FGL_J1754.2+3212_daily_bin61.fits
.....................!
real 189.54
user 185.03
sys 4.18

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 207 point sources and 0 extended sources

Setting source of interest to:
4FGL J1754.2+3212 @ 268.553 32.2007

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/293872/ft1_filtered_4FGL_J1754.2+3212_daily_bin61.fits scfile=/scratch/kocevski/293872/ft2_4FGL_J1754.2+3212_daily_bin61.fits outfile=/scratch/kocevski/293872/cmap_255139201_255398401_4FGL_J1754.2+3212_daily_bin61.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=268.553 yref=32.2007 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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/293872/ft1_filtered_4FGL_J1754.2+3212_daily_bin61.fits scfile=/scratch/kocevski/293872/ft2_4FGL_J1754.2+3212_daily_bin61.fits outfile=/scratch/kocevski/293872/cmap_HighResolution_255139201_255398401_4FGL_J1754.2+3212_daily_bin61.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=268.553 yref=32.2007 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.42
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/293872/ft1_filtered_4FGL_J1754.2+3212_daily_bin61.fits evtable="EVENTS" scfile=/scratch/kocevski/293872/ft2_4FGL_J1754.2+3212_daily_bin61.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/293872/Model_4FGL_J1754.2+3212_daily_bin61.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/293872/ft1_filtered_4FGL_J1754.2+3212_daily_bin61.fits.....................!
real 80.06
user 78.67
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/293872/ft1_filtered_4FGL_J1754.2+3212_daily_bin61.fits', '/scratch/kocevski/293872/ft2_4FGL_J1754.2+3212_daily_bin61.fits', expMap='/scratch/kocevski/293872/expmap_255139201_255398401_4FGL_J1754.2+3212_daily_bin61.fits', expCube='/scratch/kocevski/293872/ltcube_255139201_255398401_4FGL_J1754.2+3212_daily_bin61.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/293872/Model_4FGL_J1754.2+3212_daily_bin61.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1754.2+3212'

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  1.314e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  1.748e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
350         beta:  1.054e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
351           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/293872/ft1_filtered_4FGL_J1754.2+3212_daily_bin61.fits
Spacecraft file(s): /scratch/kocevski/293872/ft2_4FGL_J1754.2+3212_daily_bin61.fits
Exposure map: /scratch/kocevski/293872/expmap_255139201_255398401_4FGL_J1754.2+3212_daily_bin61.fits
Exposure cube: /scratch/kocevski/293872/ltcube_255139201_255398401_4FGL_J1754.2+3212_daily_bin61.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/293872/Model_4FGL_J1754.2+3212_daily_bin61.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) = 9635.29228341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11784E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    21.814       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .71112E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    90.815       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.044       1.0000         .10000E-03   10000.    
     7 'Prefactor '    30.030       1.0000         .10000E-03   10000.    
     8 'Prefactor '    40.817       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.8239       1.0000         .10000E-03   10000.    
    13 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    8.6145       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    13.549       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    67.721       1.0000         .10000E-03   10000.    
    22 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    9.6086       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .75524       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0359       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9635.289     FROM MIGRAD    STATUS=CONVERGED    575 CALLS     2938 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    67.300        .20015E-04** at limit **
   2  Prefactor     .10000E-03    13.174       -.14398E-06** at limit **
   3  norm          21.820        7.8885        .90121E-06    .26142E-03
   4  Prefactor     .10009E-03    289.30       -.33380E-05** at limit **
   5  Prefactor     90.773        112.28        .45433E-06    .52671E-04
   6  Prefactor     12.046        14.846       -.31679E-06   -.80044E-06
   7  Prefactor     30.049        53.302       -.81715E-06   -.63986E-04
   8  Prefactor     40.819        16.481       -.16960E-07   -.13171E-03
   9  Prefactor     .10000E-03    33.522        .22202E-06** at limit **
  10  Prefactor     .10000E-03    82.430       -.12811E-06** at limit **
  11  Prefactor     .10000E-03    3.7366       -.11733E-06** at limit **
  12  norm          1.8239        1.4069       -.80391E-08   -.29391E-03
  13  norm          .10000E-03    28.687       -.45844E-06** at limit **
  14  norm          .10000E-03    10.514       -.24138E-06** at limit **
  15  Prefactor     .10000E-03    2.4614       -.72459E-07** at limit **
  16  norm          8.6141        7.2115        .11156E-07    .41663E-04
  17  Prefactor     .10000E-03    1.6850       -.52189E-07** at limit **
  18  Prefactor     .10000E-03    5.9339       -.59000E-07** at limit **
  19  norm          13.544        18.473        .60787E-07    .20362E-04
  20  Prefactor     .10000E-03    2.9869       -.57005E-07** at limit **
  21  norm          67.753        53.243       -.68535E-06   -.87445E-04
  22  norm          .10000E-03    1.9180       -.86781E-08** at limit **
  23  norm          9.6082        2.9400        .21442E-07    .49834E-03
  24  Normalizat    .75518        .21154        .34153E-05    .42082E-03
  25  Prefactor     1.0359        .92839E-01   -.81727E-06    .45939E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100019
  Prefactor  = 0.0001
  norm       = 21.8201
  Prefactor  = 0.000100095
  Prefactor  = 90.7731
  Prefactor  = 12.0459
  Prefactor  = 30.0488
  Prefactor  = 40.8191
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.82388
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 8.6141
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.5444
  Prefactor  = 0.0001
  norm       = 67.7526
  norm       = 0.0001
  norm       = 9.60817
  Normalizat = 0.75518
  Prefactor  = 1.03594
 **********
 **   18 **HESSE 
 **********

 FCN=   9635.289     FROM HESSE     STATUS=OK           421 CALLS     3359 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    67.003        .47219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    13.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          21.820        7.8691        .85760E-04   -1.4773    
   4  Prefactor     .10009E-03    292.70        .20971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     90.773        112.34        .42167E-04   -1.3800    
   6  Prefactor     12.046        14.836        .11543E-03   -1.5014    
   7  Prefactor     30.049        53.410        .73113E-04   -1.4611    
   8  Prefactor     40.819        16.480        .62742E-04   -1.4429    
   9  Prefactor     .10000E-03    33.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    82.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.7762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.8239        1.4095        .99297E-04   -1.5438    
  13  norm          .10000E-03    28.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    10.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.4805        .15038E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.6141        7.2153        .13657E-03   -1.5121    
  17  Prefactor     .10000E-03    1.6978        .12442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.9435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          13.544        18.484        .10882E-03   -1.4972    
  20  Prefactor     .10000E-03    3.0000        .16562E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          67.753        53.339        .24387E-03   -1.4060    
  22  norm          .10000E-03    1.9254        .13217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          9.6082        2.9287        .88933E-04   -1.5088    
  24  Normalizat    .75518        .24156        .41620E-03   -1.0175    
  25  Prefactor     1.0359        .10626        .16310E-03   -.91541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21445e-09
Minuit parameter uncertainties:
  1  0.00225834
  2  6.06032e-05
  3  7.86945
  4  0.0105962
  5  112.606
  6  14.8409
  7  53.4952
  8  16.4815
  9  0.000310052
  10  0.000695121
  11  2.59448e-05
  12  1.4095
  13  0.000156944
  14  6.27541e-05
  15  9.24816e-06
  16  7.216
  17  4.77419e-06
  18  7.22135e-06
  19  18.4918
  20  7.62439e-06
  21  53.3765
  22  1.30649e-05
  23  2.92875
  24  0.241902
  25  0.106278
Done.

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

Extracting fit parameters...

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  1.824e+00  1.409e+00  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  1.748e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
350         beta:  1.054e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
351           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  1.036e+00  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  7.552e-01  2.419e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.12
Ra Dec: 268.553 32.201
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.78e-08 +/- 1.38e-08
Energy Flux (Fixed Index): 2.01e-05 +/- 1.55e-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) = 9635.28438984
delta logL = 0.0046549126273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9635.28408105
delta logL = 0.00496370645305

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7922       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6692       1.0000          .0000       5.0000    
     3 'Normalizat'    .75693       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0356       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6850E+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=   9635.284     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      268 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7920        1.4283        .99049E-04    .41320E-04
   2  alpha         1.6692        .75935        .24164E-01   -.11941E-03
   3  Normalizat    .75697        .22891        .41574E-03    .14220E-05
   4  Prefactor     1.0357        .10428        .16311E-03    .59941E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.79204
  alpha      = 1.6692
  Normalizat = 0.756966
  Prefactor  = 1.03573
 **********
 **   18 **HESSE 
 **********

 FCN=   9635.284     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7920        1.4388        .39619E-05   -1.5440    
   2  alpha         1.6692        .76476        .48329E-02   -.33876    
   3  Normalizat    .75697        .22901        .16630E-04   -1.0169    
   4  Prefactor     1.0357        .10434        .65245E-05   -.91548    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06881e-12
Minuit parameter uncertainties:
  1  1.43882
  2  0.778846
  3  0.229303
  4  0.104365
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/293872': 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) = 9635.28407866
delta logL = 0.00496609328184

Extracting fit parameters...

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  1.792e+00  1.439e+00  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  1.669e+00  7.788e-01  0.000e+00  5.000e+00 ( 1.000e+00)
350         beta:  1.054e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
351           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  1.036e+00  1.044e-01  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  7.570e-01  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.13
Ra Dec: 268.553 32.201
Photon Index (Free Index): 1.67 +/- 0.78
Photon Flux (Free Index): 1.60e-08 +/- 2.10e-08
Energy Flux (Free Index): 2.16e-05 +/- 2.37e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/293872/cmap_HighResolution_255139201_255398401_4FGL_J1754.2+3212_daily_bin61.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.78e-08', energy_flux2='2.16e-05', photon_flux_error='1.38e-08', dlogl='4.97e-03', energy_flux='2.01e-05', photon_flux2='1.60e-08', job_status='DONE', time_completed='2021-09-18 22:06:19.011908', photon_index_error2='0.78', photon_index2='1.67', ts='6.12', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='2.37e-05', EG='0.76', time_epoch_completed='1632027979.01', return_code='0', job_id='293872', GAL2='1.04', EG2='0.76', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='2.10e-08', ts2='6.13', photon_index='1.75' WHERE bin_id='61' AND source_name='4FGL J1754.2+3212' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 22:06:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 293872: <4FGL_J1754.2+3212_daily_bin61> in cluster <slac> Done

Job <4FGL_J1754.2+3212_daily_bin61> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 18 21:50:26 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 21:50:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 18 21:50:27 2021
Terminated at Sat Sep 18 22:06:19 2021
Results reported at Sat Sep 18 22:06:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1754.2+3212_daily_bin61 268.553 32.2007 255139201 255398401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1754.2+3212 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   937.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   952 sec.
    Turnaround time :                            953 sec.

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

